RosettaCodeData/Task/Loops-Nested/Mathematica/loops-nested.math

5 lines
118 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
Do[ Print[m[[i, j]]];
If[m[[i, j]] === 20, Return[]],
{i, 1, Dimensions[m][[1]]},
{j, 1, Dimensions[m][[2]]}]