Contents - Index


Return (command)

RETURN   [<Msg="Cancel Message">]

The RETURN command terminates the current macro file only. So if macro A calls macro B, and you use the RETURN command in Macro B, then all remaining commands in Macro B are ignored and control returns to Macro A. If you include the optional Msg= parameter, a message box will show and the user must click on OK before the macro ends. Just to summarise the ending of Macro commands:

RETURN - ends the current macro file only
CANCEL - ends macro at any depth and returns to the GSAK GUI
EXIT - ends macro at any depth, and also ends/exits GSAK

Alpha List         Category List