On Tue, May 13, 2003 at 06:20:06PM +0200, Per Hedbor () @ Pike (-) developers forum wrote:
if( do_reset ) continue reset:
Pike 7.4.20:
hyp:~ # cat a.pike void main(int argc, array(string) argv) { int click = 0;
reset: if (click++ > 10) exit(1); while(1) { continue reset; } } hyp:~ # pike a.pike a.pike:10:No surrounding statement labeled 'reset'.
It works if while() is labelled, though. And, if there is a "continue", what is the reason not to allow goto, then? :) Regards, /Al