[fpc-devel] Fwd: While - Otherwise Statement
wkitty42 at windstream.net
wkitty42 at windstream.net
Tue Oct 13 19:21:16 CEST 2015
On 10/13/2015 09:40 AM, Mark Morgan Lloyd wrote:
> wkitty42 at windstream.net wrote:
>> ahhhh... my bad... sorry 'bout that... i've been thinking about this, too...
>> 'else' and 'otherwise' mean the same thing... what they seem to be looking for
>> is 'aswell'...
>>
>>
>> foo := 0;
>> while foo < 100 do
>> begin
>> inc(foo);
>> end;
>> aswell
>> begin
>> dec(foo);
>> end;
>>
>>
>> either 'aswell' or 'aswellas'... while foo is less than 100 increment foo as
>> well as decrement foo when it is no longer less than 100...
>
> If somebody really has to do this wouldn't "also" be a better choice to avoid
> (getting close to overloading "as"? :-/
it might... i don't know anything about "as" because i've never used it... what
does it do?
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list* unless
private contact is specifically requested and granted.
More information about the fpc-devel
mailing list