-- -*- M2-comint -*- {* hash: 1890012209 *} i1 : i = 0 ; while i < 10 list i^2 do i = i+1 o2 = {0, 1, 4, 9, 16, 25, 36, 49, 64, 81} o2 : List i3 : i = 0 ; while i < 4 do (print i; i = i+1) 0 1 2 3 i5 : i = 0 ; while i < 10 list (i = i+1; i^2) o6 = {1, 4, 9, 16, 25, 36, 49, 64, 81, 100} o6 : List i7 : i = 0 ; while i < 10 list (i = i+1; if odd i then continue; i^2) o8 = {4, 16, 36, 64, 100} o8 : List i9 : i = 0 ; while i < 10 list (i = i+1; if odd i then continue x; i^2) o10 = {x, 4, x, 16, x, 36, x, 64, x, 100} o10 : List i11 : i = 0 ; while i < 10 list (i = i+1; if i == 5 then break i; i^2) o12 = 5 i13 : i = 0 ; while i < 10 list (i = i+1; if i == 5 then break; i^2) o14 = {1, 4, 9, 16} o14 : List i15 :