In EBCDIC world.
I had a hard time, when I ported the Stanford Pascal compiler to
Windows/Unix etc.;
it compiled a Pascal Case statement (which is switch in C and SELECT in
PL/1)
involving char constants as Case labels, and, when building the branch table
(addresses to branch to, depending on the internal value of the char),
it silently assumed the EBCDIC char set :-)
This took me some time to find and to repair and to find a platform neutral
coding in the P-Code, which is generated by the compiler. Because the
P-Code
is assumed to run on all platforms, regardless of the platform-specific
character set.
If you want to read more, look here: http://bernd-oppolzer.de/job9i025.htm
Kind regards
Bernd
Am 18.08.2022 um 18:13 schrieb Charles Mills:
'A' is just another way of saying 193.
'ABC' is just another way of saying 12698307.
Charles
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN