   echo = 1 (on)
? default(breakloop,1)
? my(bound=100,step=20,halt=41);check(B)=my(bi=[B^2]);for(i=1,bound,my(p=i+s
tep,N=p^2);if(i==halt,error("check:",N)))
(B)->my(bound=100,step=20,halt=41);my(bi=[B^2]);for(i=1,bound,my(p=i+step,N=
p^2);if(i==halt,error("check:",N)))
? check(1000);
  ***   at top-level: check(1000)
  ***                 ^-----------
  ***   in function check: ...i+step,N=p^2);if(i==halt,error("check:",N)))
  ***                                                  ^-------------------
  ***   user error: check:3721
  ***   Break loop: type 'break' to go back to GP
break> [bound,step,halt,i,p,N,bi,B]
[100, 20, 41, 41, 61, 3721, [1000000], 1000]
break> break

? [bound,step,halt,i,p,N,bi,B]
[bound, step, halt, i, p, N, bi, B]
? my(p=120);for(i=1,100,1/0)
  ***   at top-level: my(p=120);for(i=1,100,1/0)
  ***                                        ^---
  *** _/_: division by zero
  ***   Break loop: type 'break' to go back to GP
break> [p,i]
[120, 1]
break> break

? print("Total time spent: ",gettime);
Total time spent: 0
