[fpc-pascal] case statement

Adriaan van Os adriaan at adriaan.biz
Thu Dec 14 20:26:01 CET 2023


James Richters via fpc-pascal wrote:
> I didn’t know there was such a thing as OTHERWISE.  Is there any functional difference between OTHERWISE and ELSE?

No. It is just that OTHERWISE doesn't have the IF-THEN-ELSE ambiguity. Macintosh Pascal compilers 
had OTHERWISE but not ELSE. Maybe, OTHERWISE was added to FPC when imlementing the macpas mode.

Regards,

Adriaan van Os


More information about the fpc-pascal mailing list