[fpc-devel] Fwd: While - Otherwise Statement
Steve Smith
fski12 at yahoo.com
Sun Oct 11 23:57:58 CEST 2015
On 11/10/15 22:52, Steve Smith wrote:
> 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 ===
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
Oops... Sorry Tomas!
More information about the fpc-devel
mailing list