Loops/Nested: Difference between revisions

Content added Content deleted
Line 271: Line 271:
Loop for ( i=1, #(i<=DIMS), ++i)
Loop for ( i=1, #(i<=DIMS), ++i)
Loop for ( j=1, #(j<=DIMS), ++j)
Loop for ( j=1, #(j<=DIMS), ++j)
When ( Not ( Sub (20, [i,j] Get 't' ---Copy to 'aux'---)) ) { Break }
When ( Equals ( 20, [i,j] Get 't' ---Copy to 'aux'---) ) { Break }
Just right (3, Str(aux)), Print only if ( #(DIMS-j), "," )
Just right (3, Str(aux)), Print only if ( #(DIMS-j), "," )
Next
Next