RosettaCodeData/Task/Loops-Nested/Icon/loops-nested-2.icon
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

4 lines
215 B
Text

every x := L[i := 1 to *L,1 to *L[i]] do
if x = 20 then break write("L[",i,",",j,"]=20") # more succinctly
every if !!L = 20 then break write("Found !!L=20") # even more so (but looses the values of i and j