MSM-Workstation
Macros
Go back to the alphabetic list of macros
Go back to the first page of this tutorial
%%IOVar
Parameters may be passed when a window is invoked.
This macro is replaced by the name of the local array through which these
parameters are available to the "action logic" code within the window.
The macros that are used to invoke a window and specify the actual
parameters are %%DoWin and %%OpenWin.
Examples
Kill Prm
Set Prm(1)=27
Set Prm("Name")="Doe, John"
%%DoWin(SomeWindow,.Prm)
Invoke a window called
"SomeWindow", passing the array Prm
as the actual parameter list.
Within the window, the parameters can be referenced as
%%IOVar(1) and %%IOVar("Name")
respectively.
See also
%%DoWin,
%%OpenWin and
%%Cancel.