[fpc-devel] Fwd: While - Otherwise Statement
Steve Smith
fski12 at yahoo.com
Sun Oct 11 23:52:38 CEST 2015
On 11/10/15 21:48, Sven Barth wrote:
> That "then" is a great idea! That would definitely not break anything and it
> would make sense indeed:
>
> === code begin ===
>
> while bool do
> foo
> then
> bar;
>
> repeat
> foo;
> until bool then
> bar;
>
> === code end ===
>
> Regards,
> Sven
Am I being stupid? It's late here so...
What's wrong with....
=== code begin ===
while bool do
foo;
bar;
or
repeat
foo;
until bool;
bar;
=== code end ===
More information about the fpc-devel
mailing list