[fpc-pascal]otherwise

Sidney Cave zcave at yahoo.com
Tue Oct 3 21:07:28 CEST 2000


I am pretty sure "otherwise" is a reserved word in ISO
standard Pascal. It is used in place of the BP "else"
at the end of a case statement, as someone else just
mentioned.

Sid Cave
--- Adam Naumowicz <adamn at math.uwb.edu.pl> wrote:
> Hello,
> I encountered a problem trying to compile a program
> with a following
> fragment:
> 
> type type1=record
> OTHERWISE:type2;
> ......
> end;
> 
> The compiler complains as if OTHERWISE is a reserved
> keyword in Pascal,
> but as I know it isn't for BP and DELPHI.
> I even checked the docs, but the word is not listed
> there as a reserved
> identifier. 
> Anyone has an idea why I cannot use OTHERWISE ?
> I know I can simply use some other identifier, but I
> just want to know ...
> 
> Adam Naumowicz
> 
> --------------------------------------
> WWW: http://math.uwb.edu.pl/~adamn/
> --------------------------------------
> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  - 
> fpc-pascal at lists.freepascal.org
>
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


=====
Sid Cave
mailto:zcave at yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/




More information about the fpc-pascal mailing list