October 1, 1979 COMMAND MACROS CREATION
MACROS -- $I
Examples ________
i/&1/NOT &C'negate it' __________________________
the text string "NOT " is inserted after &1
i/&1/NOT> &C'negate it' ___________________________
the text string "NOT" is inserted after &1
10>p 10 .*&C'print next 10 lines' __________________________________
this is valid
10>p 10 .* &C'print next 10 lines' _____________________________________
10>p 10 .*> &C'print next 10 lines' _____________________________________
invalid these are _______ because the last characters on the command
line are not " .*"
11.2.1.4 &IDENTIFIER ____________________
A way of setting a global variable is to include the "&I"
function in a command line:


&I


Notes _____
The value of &I is set by the MIDENTIFIER command.
If the string set by MIDENTIFIER is shorter than 4 characters
it will be padded on the right with blanks.
Example _______:
Consider the macro:
&I/&1/&2///&3
This macro can be used to insert either a Decimal Block, or a
regular Block, if &I is set to either ID, or IBL respectively.
(The three parameters are for the <lp>, <label>, and <text>.
254 -- Section 7 Release 9.1 FRESS Resource Manual
Previous Page Next Page