Specifications
iv
■
Notational Conventions Used in This Book
Several notational conventions are used in this book for the sake of clarity.
1. Reserved words are printed in UPPERCASE. These are BHT-BASIC’s keywords. You
should not use them as label names or variable names.
Example:
CHAIN, GOSUB, and ABS
2. Parameters or arguments which should be specified in the statements or functions are
expressed in italics.
Example:
characode and onduration
3. Items enclosed in square brackets [ ] are optional, which can be omitted.
Example:
[commonvariable]
4. Items enclosed in braces { } and separated by vertical bars | represent alternative items.
You should choose either item.
Example:
CURSOR {ON|OFF}
5. An ellipsis . . . indicates that you can code the previous item described in one line two or
more times in succession.
Example:
READ variable[,variable...]
6. Hexadecimal values are followed by h. In many cases, hexadecimal values are
enclosed with parentheses and preceded by decimal values.
Example:
65 (41h) and 255 (FFh)
In program description, hexadecimal values are preceded by &H.
Example:
&H41 and &HFF
7. Programs make no distinction between uppercase and lowercase letters, except for
character string data.
The uppercase-lowercase distinction used in this manual is intended to increase the
legibility of the statements. For example, reserved words are expressed in uppercase;
label names and variable names in lowercase. In practical programming, it is not nec-
essary to observe the distinction rules used in this manual.
The examples below are regarded as the same.
Example 1:
&HFFFF, &hffff, and &hFFFF
Example 2: A AND B, a and b, and a AND b
Example 3: PRINT STR$(12), Print Str$(12), and print str$(12)