The following example is a PowerCOBOL statement used to define the method for a control or a form.
INVOKE {CONTROL-NAME METHOD-NAME [(INDEX-1)] |
FORM-NAME }
[PARAMETER ...]
The components of this method definition statement are:
Identifies the name of the control to be manipulated.
Identifies the method to be used.
Identifies the parameters passed to the method.
The return value is stored in PROGRAM-STATUS.
If controls are arrayed, specify an index value to reference each control.
Numbers or variables can be used as the index value.