[fpc-devel] Fwd: While - Otherwise Statement

Tomas Hajny XHajT03 at hajny.biz
Sun Oct 11 23:33:38 CEST 2015


On Sun, October 11, 2015 22: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 ===

I'm afraid that I got lost in this discussion, but what exactly would be
the supposed semantic difference between the behaviour compared to
situation when there was a semicolon instead of 'then' there?

Tomas





More information about the fpc-devel mailing list