TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-365
#SHIFTDEFAULT Built-In Variable
#SHIFTDEFAULT Built-In Variable
Use #SHIFTDEFAULT to set or obtain the current default shift direction for
#SHIFTSTRING.
Result
#SHIFTDEFAULT returns DOWN, NOOP, or UP.
Considerations
When you first log on, #SHIFTDEFAULT is initialized to UP.
Use #PUSH #SHIFTDEFAULT (or PUSH #SHIFTDEFAULT) to save a copy of
your current default shift setting.
Use #POP #SHIFTDEFAULT (or POP #SHIFTDEFAULT) to restore the default
shift setting from the last copy pushed.
Use #SET #SHIFTDEFAULT (or SET VARIABLE #SHIFTDEFAULT) to set the
default shift direction (DOWN, NOOP, or UP) of shifting by #SHIFTSTRING.
The syntax of #SET #SHIFTDEFAULT is:
DOWN
causes #SHIFTSTRINGs with no UP or DOWN option to shift to lowercase.
NOOP
causes #SHIFTSTRINGs with no UP or DOWN option to do no shifting.
UP
causes #SHIFTSTRINGs with no UP or DOWN option to shift to uppercase.
#SHIFTDEFAULT
#SET #SHIFTDEFAULT { DOWN | NOOP | UP }