Below is the syntax for the RETURN TO command.
In Les Pinter's book he uses a constuction similar to
RETURN TO &varname
where varname contains 'SYSMAIN' in one instance and 'MASTER' in another. His main prg is sysmain.prg. But, in an error trapping code he returns to MASTER. While running in DEBUG it returns to the click event that has a deliberate bug, for demo purposes, but when the exe is run the program appears to do a normal shutdown without returning to the click event.
Question: what is the "highest calling program:???
***************************************************************
RETURN [eExpression | TO MASTER | TO ProcedureName]
Arguments
eExpression Specifies an expression returned to the calling program. If you omit RETURN or the return expression, true (.T.) is automatically returned to the calling program.
TO MASTER Returns control to the highest-level calling program.
TO ProcedureName Specifies the procedure to which control is returned.
Nebraska Dept of Revenue