HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
3- 40
.
.
.
99 END
100 SUB Payroll
110 COM X(*,*), Y, INTEGER Z,Q()
.
.
.
199 SUBEND
200 DEF FNAccounts (X,Y,Z)
210 COM I()
.
.
.
299 FNEND
The following table shows the correspondence between common variable
names in the above program.
Table 3-31. Common Variable Names Correspondence
---------------------------------------------------------------------------------------------
||||
| Name of Common Variable | Name of Common Variable | Name of Common Variable |
| in Main Program | in Payroll | in FNAccounts |
||||
---------------------------------------------------------------------------------------------
||||
|A |X |I |
||||
---------------------------------------------------------------------------------------------
||||
| B | Y | None |
||||
---------------------------------------------------------------------------------------------
||||
| C | Z | None |
||||
---------------------------------------------------------------------------------------------
||||
| D | Q | None |
||||
---------------------------------------------------------------------------------------------
||||
| E$ | None | None |
||||
---------------------------------------------------------------------------------------------
||||
| F$ | None | None |
||||
---------------------------------------------------------------------------------------------
VERIFY Command
The VERIFY command
verifies
specified program units; that is, it checks
that they are
well-formed
and prints messages if it finds errors. The
VERIFY command is a command-only statement, and it cannot be executed
when the program is running.
A program unit is
well-formed
if it has the following characteristics:
* Properly matched constructs.
* Consistent array references.
* No incorrectly placed statements (for example, SUBEXIT in a