Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

5.4.6 Control and Form Method Syntax Format

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:

control-name

Identifies the name of the control to be manipulated.

method-name

Identifies the method to be used.

parameter ...

Identifies the parameters passed to the method.

Return value

The return value is stored in PROGRAM-STATUS.

Index-1

If controls are arrayed, specify an index value to reference each control.

Numbers or variables can be used as the index value.