quit Command

Quits the current file view in the Editor window if no changes have been made.

Note: This command is only valid when issued in an Editor window.

Scope: File

Syntax

Description

The quit command quits the current file (if no changes have been made) by calling qquit. If changes have been made, you are asked to confirm the request to quit.

Example

To quit the current file in the Editor window (if no changes have been made), type:

quit

API Return Codes

-6 
The Editor discovered an error while writing the file to the disk or while renaming a temporary file.
-7 
The file was not exited because the nosave parameter is on. To exit the file, set the nosave parameter off and use the quit command again.
-9 
Too many parameters were issued with the command.

qquit Command