TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-189
#HELPKEY Built-In Variable
#HELPKEY Built-In Variable
Use #HELPKEY to retrieve the name of the TACL help key. The help key displays
syntax information during an interactive TACL session. You can type part of a
statement, including the full name of a command or built-in function, and then press the
help key. TACL lists what types of elements are expected next.
Result
#HELPKEY returns the name of the current help key or, if there is no help key, returns
nothing.
Considerations
When you first log on, #HELPKEY is initialized to F16.
Defining a function key as the help key prevents that key from being programmed
for any other function.
Use #PUSH #HELPKEY (or PUSH #HELPKEY) to save a copy of the name of the
current help key.
Use #POP #HELPKEY (or POP #HELPKEY) to restore the help key from the last
copy pushed.
Use #SET #HELPKEY (or SET VARIABLE #HELPKEY) to define a function key as
the help key.
The syntax of #SET #HELPKEY is:
key-name
is the name of the function key (such as F1 or SF13). If you omit key-name,
you have no help key.
#HELPKEY
#SET #HELPKEY [ key-name ]