Closes all open files and terminates dBASE.

Syntax

QUIT [WITH <expN>]

WITH <expN>

Passes a return code, <expN>, to the operating system when you exit dBASE.

Description

Use QUIT to end your dBASE work. It has the same effect as closing the dBASE application.

If you include QUIT in a program file, dBASE halts the program's execution and exits dBASE. To end a program's execution without leaving dBASE, use CANCEL or RETURN.

Use QUIT WITH <expN> to pass a return code to Windows or to another application.