MSM-Workstation
Macros

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

%%IsOK

Indicate success during action logic.

When using the %%Perform macro it may be necessary to clear the %%NotOK signal returned, so that the calling action logic can report success. This macro does this. To check the signal status, examine the system variable that can be accessed through the macro %%OK. If its value is false, the performed action executed the macro %%NotOK before quitting.

Examples

I allsaved %%IsOK Q
In the action logic of a GUI window for the low-level event close, report success when all necessary saving operations have been completed.

I MyVar<Yours %%IsOK Q
In action logic of a GUI Text control for the low-level event lostFocus, report success when two values compare in the required manner.

See also

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