INTERPRETED [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
INTERPRETED
The INTERPRETED function returns a value that determines whether a
program is being run in the interpreter or as a compiled program.
The return value is as follows:
Table 5-5. Result of INTERPRETED Function
---------------------------------------------------------------------------------------------
| | |
| Result | Meaning |
| | |
---------------------------------------------------------------------------------------------
| | |
| 0 | Compiled program. |
| | |
---------------------------------------------------------------------------------------------
| | |
| 1 | Interpreted program. |
| | |
---------------------------------------------------------------------------------------------
Syntax
INTERPRETED
Examples
10 A=INTERPRETED
20 IF A=1 THEN GOSUB 100 !Control transfers to 100 if this program is interpreted
30 ELSE GOSUB 200 !Control transfers to 200 if this program is compiled
.
.
.
MPE/iX 5.0 Documentation