Non-compilable Statements and the CWARNINGS Command [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
Non-compilable Statements and the CWARNINGS Command
Some HP Business BASIC/XL statements require the interpreter environment
and therefore cannot be compiled. Non-compilable HP Business BASIC/XL
statements cause compiler warnings. Some statements also generate code
that causes a run-time error.
The following statements are effectively ignored by the compiler:
* All trace statements.
* All untrace statements.
* PAUSE statement.
When the compiler encounters one of these statements that are primarily
for debugging, it issues a warning message and continues. The compiler
does not generate code for the statement that caused the warning.
The following statements cause a run-time error:
COMMAND GETSUB RESAVE SECURE
DEFAULT LINK SAVE
DELETE MERGE SCRATCH
When the compiler encounters one of these statements, it issues a warning
message and generates code that causes run-time error #2103. The
INTERPRETED built-in function can be used to avoid executing these
statements in a compiled program.
The compiler must be able to determine the number of dimensions of every
array at compile time. If it encounters an undeclared array or an array
parameter for which the dimensions cannot be determined at compile time,
for example, an array that appears only in a MAT PRINT statement, the
compiler issues an error message. The interpreter command, CWARNINGS,
lists noncompilable statements in the current program. The CWARNINGS
command is a command-only statement.
Syntax
CWARNINGS
MPE/iX 5.0 Documentation