HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

9- 7
| | error occurs if more than | | |
||
num_lit
GOSUB statements | | |
| | execute before a RETURN | | |
| | (in one subunit). Each | | |
| | invocation of a subunit | | |
| | allocates one word for | | |
| | each possible GOSUB. | | |
| | |||
---------------------------------------------------------------------------------------------
Table 9-4. Other COPTIONS
---------------------------------------------------------------------------------------------
| | |||
| Option | Meaning | Type | Default |
| | |||
---------------------------------------------------------------------------------------------
| | |||
| | Allows you to insert a | Program Unit | none |
| | copyright statement in | | |
| COPYRIGHT=
quoted_str
| the program. No effect | | |
| | on program execution. | | |
| | |||
---------------------------------------------------------------------------------------------
| | |||
| | Allows you to compile | Program | Compile current |
| | each of the main block | | program as |
| RLFILE | and each subunit as a | | individual object |
| | separate object file into | | file into an |
| | an RL file. You can | | NMOBJ file. |
| | compile more than one | | |
| | program subunit into an | | |
| | RL. | | |
| | |||
---------------------------------------------------------------------------------------------
| | |||
| | Directs the compiler to | Program | RL not |
| | initialize the RL before | | initialized. |
| RLINIT | compiling code into it. | | |
| | |||
| | |||
---------------------------------------------------------------------------------------------
| | |||
| | Allows you to group | Program Unit | No locality set |
| | multiple object modules | | specified. |
| LOCALITY=
quoted_str
| into a locality set when | | |
| | they are compiled into an | | |
| | RL. This will help in | | |
| | maintaining and using RL | | |
| | commands such as PURGERL. | | |
| | |||
---------------------------------------------------------------------------------------------
Table 9-4 NOTE For a detailed description of relocatable libraries (RLs)
see the
HPLINK EDITOR/XL Reference Manual
.
COPTION and GLOBAL COPTION Statements
The COPTION and GLOBAL COPTION statements gives you control over the code
and listing that the compiler generates.
The GLOBAL COPTION statement is allowed only in the main block of a
program. It establishes defaults to be used throughout the program. The
COPTION statement can be used in any program unit.
Syntax
{
i_option
}[ {
i_option
}]
[GLOBAL] COPTION {
s_option
}[, {
s_option
}]...
Parameters
GLOBAL Allowed only if the statement is in the main block of