TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-84
INLPREFIX Command
INLPREFIX Command
Use the INLPREFIX command to establish the prefix that identifies lines that are to be
passed as input to inline processes. (Use of the INLINE facility is described in the
TACL Programming Guide.)
prefix
is one or more characters constituting a prefix that, when placed at the beginning
of a TACL input line and followed by a space, identifies the remainder of the line as
input to be passed to an inline procedure instead of being acted upon by TACL.
Considerations
•
The INLPREFIX command offers a simplified method of setting the
#INLINEPREFIX Built-In Variable on page 9-204.
•
If you omit prefix, INLPREFIX sets the inline prefix to its default, a null value (no
prefix). For efficiency, it is a good idea to leave the prefix set to null when you are
not using the INLINE facility.
•
You can display the current setting for INLPREFIX with the ENV command.
•
You can save the previous prefix value by pushing #INLINEPREFIX; you can
revert to that prefix by popping #INLINEPREFIX.
•
You must not use #SET as a prefix because doing so would prevent you from
changing the prefix to anything else. Other problems could arise from using other
TACL entities as prefixes.
•
The prefix must not include a space or an end-of-line.
•
The prefix is not case-sensitive.
•
When used to identify an input line, the prefix must be followed by a space unless
it appears alone on a line. In that case, TACL passes a blank line to the inline
process.
•
If a prefixed line appears when no inline process exists, an error occurs.
Example
This command establishes “@@” as the inline prefix:
327> INLPREFIX @@
INLPREFIX [ prefix ]