This command tells VISTA that the execution of the current sub-procedure is complete and to return to any calling procedure or to immediate input mode as is appropriate. This command is intended to allow a return from the procedure as a result of an IF test. In cases where no condition testing is needed, the final END command in the procedure buffer will tell VISTA that the procedure has completed.
LOOP: ASK 'Enter non-zero to process another image >> ' TEST IF TEST=0 RETURN END_IF : : GOTO LOOP:
(commands) ENDmay be executed as a subroutine, but one that looks like:
IF TEST=0 END END_IFwill not work. Use RETURN instead.