[fpc-devel]Some pascal enhancement

Peter Vreman peter at freepascal.org
Tue Oct 16 14:15:45 CEST 2001

> Aleksey V. Vaneev wrote:
> >  to break; and continue; instructions. Like break (2); or continue
> >  (3);
> What is the mean, using goto and labels solves this problem. Labels in pascal is a bad
style, but who can say that these
> "many-storied" breaks would be better? IMHO, "pretty programming style" should not be an
end in itself: effectivity of
> solution of concrete problem is more important.

I agree here that using goto and a label is much nicer and creates less errors. Because
adding an extra loop would require you to adjust all the continue(2) to continue(3), and
forgetting one is easily done as it doesn't trigger a compiler error/warning

More information about the fpc-devel mailing list