HP 3000 Manuals

CLEAR FORM [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

CLEAR FORM 

The CLEAR FORM statement sets the contents of all fields on the currently
displayed form to blanks or another default value.  This statement is
used with JOINFORM as well as VPLUS, but the DEFAULT clause is ignored
when using JOINFORM. If there is no active form, executing a CLEAR form
causes a run-time error.

Syntax 

CLEAR FORM [default_clause]

Parameters 

default_clause   The optional keyword DEFAULT assigns the initial values
                 from the VPLUS form file to each field.  The correct
                 syntax is:

                        {DEFAULT }
                 [WITH] {DEFAULTS}

Examples 

The following examples show the use of the CLEAR FORM statement.

     500 CLEAR FORM
     510 CLEAR FORM DEFAULT
     530 CLEAR FORM WITH DEFAULT



MPE/iX 5.0 Documentation