Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
11
Task/Loops-Nested/MAXScript/loops-nested-1.max
Normal file
11
Task/Loops-Nested/MAXScript/loops-nested-1.max
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fn scan_Nested arr =
|
||||
(
|
||||
for subArray in arr where classof subArray == Array do
|
||||
(
|
||||
for item in subArray do
|
||||
(
|
||||
print item as string
|
||||
if item == 20 do return OK
|
||||
)
|
||||
)
|
||||
)
|
||||
11
Task/Loops-Nested/MAXScript/loops-nested-2.max
Normal file
11
Task/Loops-Nested/MAXScript/loops-nested-2.max
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
testArray = #(#(1,5,2,19),#(11,20,7,2))
|
||||
scan_nested testArray
|
||||
|
||||
#(#(1, 5, 2, 19), #(11, 20, 7, 2))
|
||||
1
|
||||
5
|
||||
2
|
||||
19
|
||||
11
|
||||
20
|
||||
OK
|
||||
Loading…
Add table
Add a link
Reference in a new issue