Use the EXIT command to leave R:BASE and return to the operating system. EXIT closes an open database, releases memory taken by R:BASE, and releases file handles.
Notes:
•When exiting an application it is advised to DISCONNECT from the database first.
•Do not use EXIT within an IF...ENDIF control structure. Instead, use a GOTO in order to EXIT an application outside of the IF...ENDIF.