Category:Polyglot:PL/I and PL/M: Difference between revisions
Content added Content deleted
(→PL/I and PL/M: Notes) |
m (→Implementation: Typo) |
||
Line 35: | Line 35: | ||
* The program will start with <code>n100H: procedure options (main);</code> where the "(main)" starts in column 81. |
* The program will start with <code>n100H: procedure options (main);</code> where the "(main)" starts in column 81. |
||
* after the procedure header, a variable called eof will be declared with <code>declare eof fixed binary;</code>. |
* after the procedure header, a variable called eof will be declared with <code>declare eof fixed binary;</code>. |
||
* The procedure header and the declaration of eof will be in lower case except for the final "H" of "100H |
* The procedure header and the declaration of eof will be in lower case except for the final "H" of "100H" - there will be no digits in the procedure name, other than the final "100" |
||
* an assignment to EOF will appear immediately before the final "end" of the program - EOF will be specified in upper case. |
* an assignment to EOF will appear immediately before the final "end" of the program - here, EOF will be specified in upper case. |
||
* Code that is specific to PL/M will be commented out by having the opening "/*" of the comment appear in column 81. |
* Code that is specific to PL/M will be commented out by having the opening "/*" of the comment appear in column 81. |
||
* The code that is specific to PL/M will have "/* */" at the end - the "/* */" will terminate before column 81. |
* The code that is specific to PL/M will have "/* */" at the end - the "/* */" will terminate before column 81. |