Question: skipping a loop

in a loop, how can i instruct maple to skip the loop if a condition is met?


for m from 1 to 10 do

for n from 2 to 11 do

if m=n, skip

else carry on with code

end do

end do

so that if m=n=4, maple will skip it to do m=4, n=5




Please Wait...