
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:
STR$(12)
,
Print Str$(12)
, and
print str$(12)
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...