Content deleted Content added
m Task 18 (cosmetic): eval 13 templates: hyphenate params (7×); |
→Evolution: %THEN and %ELSE |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 68:
==Example==
The following example for IBM PL/I for OS/2 illustrates the use of a preprocessor procedure to implement a C-like write statement for PL/I.<ref>{{cite web|last=Sturm|first=Eberhard|title=UIO-Makros für Builtin-Funktionen fileread und filewrite|url=
<syntaxhighlight lang="rexx" line highlight="1,25,26">
%uwrite:
Line 129:
* <code>RETURN</code> in a compile-time procedure only.
* <code>%INCLUDE</code>
* <code>%IF</code> – the <code>%IF <var>compile_time_comparison</var> %THEN <var>unit</var> [%ELSE <var>unit</var>]</code> was restored.
A single compile-time builtin, <code>SUBSTR</code>, was added.
Line 143:
==External links==
*{{cite web
|url = http://publibfp.boulder.ibm.com/
|title = Enterprise PL/I Language Reference (SC27-1460-09): Chapter 21. Preprocessor Facilities
|author = IBM Corporation
|