HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
3- 1
Chapter 3 Language Elements
Introduction
This chapter describes elements of the HP Business BASIC/XL language.
It covers executable input, statements, variables, operators, and sub-
units.
Executable Input Units
An executable input unit can be input and executed without being part of
a larger structure. The following are the three executable input units
in HP Business BASIC/XL:
* Expressions.
* Commands.
* Programs.
Table 3-1 compares them.
Table 3-1. Executable Input Units
---------------------------------------------------------------------------------------------
|| | |
| Executable Input | Composed of | For More Information |
| Units |||
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Expression | Operands and operator, or function | On expressions in general: |
| | and arguments. Operands and | Chapter 3. |
| | arguments are variables or | |
| | expressions. | On executing expressions: |
| | | "Calculator Mode" in Chapter 2. |
|| | |
| | | On variables: Chapter 3. |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Command | Most statement elements, except | On commands in general: Chapter |
| | line number and line label. | 3. |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Program | Numbered program lines (statements | On program lines in general: |
| | that are not commands). | Chapters 3 and 4. |
|| | |
| | | On program development and |
| | | execution: Chapter 2. |
|| | |
---------------------------------------------------------------------------------------------
Statements and Their Elements
This section contains the following information: