[fpc-pascal] else and otherwise in a case statement
ewald at yellowcouch.org
Fri Dec 12 00:18:04 CET 2014
On 12/11/2014 11:13 PM, Howard Page-Clark wrote:
> On 11/12/2014 21:07, Mark Morgan Lloyd wrote:
>> I've been doing a bulk replace of 'case..else' to 'case..otherwise' to
>> eliminate possible ambiguities that have bitten me in the past, and have
>> noticed something interesting under 2.6.4 on x86 Linux.
> How can "else" be ambiguous within a case statement?
If one omits the trailing semicolon (the one that's commented), the else
Case Something of
Value2: If Condition Then DoSomething (*;*)
More information about the fpc-pascal