Include a file: Difference between revisions

Added PL/M
(→‎{{header|Phix}}: copied some remarks from the preprocesor entry)
(Added PL/M)
Line 1,915:
=={{header|PL/I}}==
<lang pli>%include myfile;</lang>
 
=={{header|PL/M}}==
The original PL/M compiler did not have file inclusion, however PL/M 386 and possibly other versions, had a "$INCLUDE" compiler control statement. The "$" had to appear in the first column. Nesting of include files was possible, to a depth of 5 (in PL/M 386).
<lang plm>$INCLUDE (fileName.inc)</lang>
 
=={{header|PowerBASIC}}==
3,021

edits