TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-204
#INLINEPREFIX Built-In Variable
#INLINEPREFIX Built-In Variable
Use #INLINEPREFIX to establish the prefix that identifies lines to be passed to inline
processes. Lines that start with the defined prefix are not processed by TACL.
Result
#INLINEPREFIX returns the character or characters that make up the current inline
prefix, if any.
Considerations
When using prefixed lines:
°
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.
Use #PUSH #INLINEPREFIX (or PUSH #INLINEPREFIX) to save a copy of your
current inline prefix.
Use #POP #INLINEPREFIX (or POP #INLINEPREFIX) to restore the inline prefix
from the last copy pushed.
Use #SET #INLINEPREFIX (or SET VARIABLE #INLINEPREFIX) to define an
inline prefix.
The syntax of #SET #INLINEPREFIX is:
prefix
is an optional one-character to four-character prefix. If you omit prefix, it is
set to null.
°
The default prefix is a null value (no prefix). For efficiency, you should
leave the prefix set to nothing when you are not using the INLINE facility.
°
You must not use “#SET” as the prefix; doing so prevents you from
changing it to anything else.
°
The prefix cannot include space or end-of-line characters.
°
The prefix is not case-sensitive.
For additional information and examples showing the use of #INLINEPREFIX, refer
to the TACL Programming Guide.
#INLINEPREFIX
#SET #INLINEPREFIX [ prefix ]