-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 12 Oct 2015 21:32:07 -0400, Wkitty42 (wkitt...@windstream.net) wrote about "Re: [fpc-devel] Fwd: While - Otherwise Statement" (in <561c5f17.4070...@windstream.net>):
[snip] > that looks very much like what some would consider goto > statements... does the leave return to the top of the previous loop > or does it drop to the next statement in the previous loop? It leaves the loop at the END statement that matches the DO statement as labelled. So it goes to the next statement in the surrounding loop. >> If the label is omitted then the immediately containing loop is >> left. > > "immediately containing loop" meaning loop_3 if we're in loop_3? Correct. It's the same as break. > yup! and i did catch the THEH->THEN oops... no problems there O:) Ageing eyes, I'm afraid. When I remove my contact lenses at night I have very distorted corneas (keratoconus) and cannot easily distinguish an H from an N. ... :-( - -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlYdJV4ACgkQogYgcI4W/5QZKgCaA7lhDyhW/D0E+ATdBhrkzyIM YrsAmwYelE+svkFxHDZvKLP3AJ/HZ8DN =WNCc -----END PGP SIGNATURE----- _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel