END

Format

END [(number1)]

Description

This statement causes your program to terminate and return to DOS, optionally setting a return code. Number1 may be optionally specified to set the return code. If omitted, ASIC uses a return code of zero by default.

Example

END
In this example, the program will terminate and return to DOS with a return code of zero.

END (20)
In this example, the program will terminate and return to DOS with a return code of "20".

Comments

The optional return code is an extension over GWBASIC/BASICA.