I have a routine in which number of input datas are asked from the user before actual program execution starts.
All inputs are graphically through DCL. There are 5-6 DCL Windows which open one by one and the user has to select required data.
In case the user presses Cancel in any one of the DCL Window, the program execution must stop there itself.
As per DCL, I know how to know that the user has pressed Cancel. But problem is how to stop program execution ?
Till date, I know only of (quit). (quit) is also an error because when we do program debugging and Tick the option of Last Break Source, the program stops at every (quit) call. Thus, it means that (quit) is not a normal way of exiting program and is an error.
What is the normal way of exiting a LISP routine, without an error ?