Exit command [EDI 4.2]

The Exit command allows you to use Counter and Constant type variables as a return code. Setting the code is optional, and if not specified, is set to zero (0) for the DLL version and to 260 for the executable version for backward compatibility. The Exit command terminates execution of the entire script, including any subscripts, in the same thread or not. In general, do not use the Exit command in subscripts; doing so generates a warning during compilation.