PC Access for Windows Reference Guide
for PC Access for Windows 4.30.158
Script Command: exit
Format:
exit {SESSION, SCRIPT, APPLICATION};
The exit command causes the script file to stop executing completely. This command differs from the idle command in that exit terminates any active on commands.
The exit command provides several levels of exiting an active script:
· SCRIPT: stops the currently running script. This is also the default behavior if you use the exit command with no exit level parameter.
· SESSION: stops the currently running script and closes the Terminal window. The user returns to the Main Menu window.
· APPLICATION: stops the currently running script, closes the Terminal window, and completely exits PC Access. The user returns to the Windows 3.1x Program Manager or the Windows 95 or NT desktop.
Examples:
// Exit the script:
exit;
// Same as above:
exit SCRIPT;
// Exit the script and close the Terminal window:
exit SESSION;
// Completely exit PC Access:
exit APPLICATION;
Back to script command list.
[Contents (Javascript menu format)]
[Contents (HTML format)]
[Search]
[Glossary]
Tell me more about this site.
Can't find what you need? See: How to
Find It.
Contact us
Report a problem with this page or
suggest an improvement for this page.
Last modification date:
Friday, January 17, 2003 00:58:55
|