Rational Developer for System z
PL/I for Windows, Version 7.6, Programming Guide

Modified special macros example

If the macro $@ has the value

c:\source\prog\sort.obj

then the following values are returned for the modified macro:

Macro
Value
$(@D)
c:\source\prog
$(@F)
sort.obj
$(@B)
sort
$(@R)
c:\source\prog\sort

Modified macros are always longer than a single character — they must be enclosed by parentheses when used.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)