PL/I preprocessor: Difference between revisions

Content deleted Content added
Preprocessor builtins: Almost got that right :-)
Line 57:
 
These are the builtins for IBM's ''PL/I for MVS and VM'' compiler.<ref name=PLI1.1>{{cite book|last=IBM Corporation|title=IBM PL/I for MVS & VM Language Reference|year=1995}}</ref>{{rp|pp.404-406}} There can be considerable difference between preprocessors of various PL/I compiler in the builtins provided.
* '''COMPILETIME''' &mdash; returns the date and time of compilation as a character string such as "15 SEP 12 15:30:00" for September 15, 2012 73:30PM (local time).
* '''COUNTER''' &mdash; returns a character string containing a number that is "00001" for the first call to COUNTER and increases by one for each subsequent call.
* '''INDEX''' &mdash; same as PL/I builtin INDEX.