RETURN
Revision as of 18:04, 27 April 2020 by ConvertBot (talk | contribs) (Returns from a macro, procedure, subroutine, or control section)
Returns from a macro, procedure, subroutine, or control section
Returns the macro pointer and thread of execution to the caller at the point where the currently executing code was called. Examples: startmacro say "Going to procedure ABC." call abc say "Back where we started from." stop procedure abc say "Within procedure ABC." return endmacro When this macro runs, it will produce the output: Going to procedure ABC. Within procedure ABC. Back where we started from. See Also: CALL, PROCEDURE, GCONTROL