Category:Polyglot:PL/I and PL/M: Difference between revisions

More notes
(Typos)
(More notes)
Line 17:
* MOD is an operator, AND, OR and NOT are keywords.
* The only types are BYTE and ADDRESS - unsigned 8 and 16 bit integers.
* Identifiers cannot contain underscores - the PL/M compiler ignorestreats them as spaces - dollar signs can appear but are ignored.
<br><br>
PL/I features of interest:
Line 39:
* Code that is specific to PL/I will generally be commented out by placing "/* */" in column 78, so that the "*/" is invisible to the PL/M compiler.
* Additionally, some PL/I code can be commented out by using a macro to add a "/*" to a PL/I keyword and following the code with "/* */".
<br><br>
Note that for some PL/I compilers, it may be necessary to specify a compiler option to set the margins for the code, so the source line can be up to say, 120 characters wide.
<br><br>
See below for some examples.
3,022

edits