MSM-Workstation
Macros

Go back to the alphabetic list of macros
Go back to the first page of this tutorial

%%RetNormal

This macro is replaced by the constant that corresponds to a special value for the return value that results from the execution of the code generated by the macro %%DoWin.

The special value that this macro is replaced by indicates that the activity in the invoked window was completed normally.

Examples

%%DoWin(Window,.Params)
If %%RetCode=%%RetNormal Quit
d I^%msgbox("Return code is "_%%RetCode)

Invoke a window, and continue processing normally if the window invocation yields a "normal" return code. Otherwise, pop up a window showing the returned value.

See also

%%RetCancel, %%RetCode, %%Return, %%Cancel, %%OK, %%IsOK and %%NotOK.