[fpc-devel] Fwd: While - Otherwise Statement

DaWorm daworm at gmail.com
Mon Oct 12 21:04:33 CEST 2015


I guess I'm confused.  What is the difference between:

while true do this then that

and:

while true do this
that

And what is better about:

while true do this otherwise/else that

and:

if true
  while true do this
else
  that

The latter may have a difference if the thing that returns true for the
"if" could be false by the time the "while" is executed, I suppose.

Jeff.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151012/0c6a7c10/attachment.html>


More information about the fpc-devel mailing list