Ruud H.G. van Tol on Wed, 07 Jan 2026 11:10:32 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

brteak



I typed a little sloppy:

? my(s=0); for(i=1,1000, s++; if(i>10, brteak)); s
cpu time = 1 ms, real time = 1 ms.
%1 = 1000

So brteak was not seen as a keyword, etc.

I could develop a habit to always add the () for bare breaks, nexts, prints; etc. But I'd rather get a (single) runtime warning about the suspicious undefined used in void context, or such.
What are ways to deal with this?

-- Ruud