Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

nested for loop

nested for loop

Anonymous
Not applicable
573 Views
1 Reply
Message 1 of 2

nested for loop

Anonymous
Not applicable

Is there a way to nest the for loops and get the print statements to come out clean in the listening console:

 

i=4
z=4
for x1 = 0 in i do(
 print "outer loop"
 for x2 =0 in z do (
  print "inner loop"
 )
)
0 Likes
Accepted solutions (1)
574 Views
1 Reply
Reply (1)