TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-253
#LOGOFF Built-In Function
#LOGOFF Built-In Function
Use #LOGOFF to log off the current TACL.
option
is any of these:
CLEAR
clears the terminal screen after you log off (for use when TACL is not
configured to clear the screen automatically).
NOCLEAR
prevents TACL from clearing the terminal screen after you log off (for use when
TACL is configured to clear the screen automatically-the usual case).
PAUSE
causes TACL to execute a PAUSE command immediately following the
LOGOFF command.
SEGRELEASE
immediately releases the extended segment used to hold your variables.
Typically, TACL saves this segment to use in case you are the next user of this
TACL, but if you fill up your variable space and processing cannot proceed,
you can log off using the SEGRELEASE option to discard the variable space.
Result
#LOGOFF returns nothing.
Considerations
When you log off, any processes that you started continue to run.
Any macro or routine running at the time #LOGOFF occurs terminates
immediately. A subsequent LOGON does not restart it. For example:
#FRAME
...
#LOGOFF
#UNFRAME
causes the frame counter to remain in its incremented condition because
#UNFRAME is not executed.
#LOGOFF [ / option [ , option ] ... / ]