Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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