[fpc-pascal] case statement

Bernd Oppolzer bernd.oppolzer at t-online.de
Sun Dec 17 09:03:53 CET 2023


Am 17.12.2023 um 06:12 schrieb Adriaan van Os via fpc-pascal:
>
> Anyway, the innocent looking case-statement does have some interesting 
> aspects.
>
Indeed.

My Stanford compiler tries to be portable across platforms;
due to its IBM mainframe heritage even on platforms that have "strange" 
character sets like EBCDIC.
When I ported it to ASCII based machines in 2016, I had some trouble 
with case statements based on
character variables and expressions.

See the story here:

http://bernd-oppolzer.de/job9i025.htm

> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list