
Chapter 1. Software Overview for the BHT
5
1.2 BHT-BASIC
1.2.1 Features
BHT-BASIC is designed as an optimal programming language in making application programs
for the bar code handy terminal BHT, and to enable efficient program development, with the fol-
lowing features:
■
Syntax Similar to Microsoft™ BASIC
BHT-BASIC uses the BASIC language which is the most widely used one among the high-level
languages. The syntax of BHT-BASIC is as close as possible to that used in Microsoft BASIC
(MS-BASIC).
■
No Line Numbers Required
BHT-BASIC requires no line number notation. You can write a branch statement with a label
instead of a line number so that it is possible to use cut and paste functions with an editor in
developing source programs, thus facilitating the use of program modules for development of
other programs.
■
Program Development in Windows95/98 or WindowsNT/Windows2000
You may develop programs with BHT-BASIC on those computers operating on Windows95/98
or WindowsNT4.0/Windows2000.
■
Advantages of the Dedicated Compiler
The dedicated compiler outputs debugging information including cross reference lists of vari-
ables and labels, enabling the efficient debugging in program development.
The Compiler assigns variables to fixed addresses so that it is not necessary for the Interpreter
to allocate or release memories when executing user programs, making the execution time
shorter.
■
Program Compression by the Dedicated Compiler
The Compiler compresses a source program into the intermediate language to produce an
object program (a user program).
(When a compiled user program is downloaded to the BHT, the BHT packs a pair of ASCII
bytes into a single byte by converting each byte into a 4-bit hexadecimal number for more effi-
cient use of the memory area in the BHT.)
Содержание BHT-BASIC 100 SERIES
Страница 1: ......
Страница 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Страница 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Страница 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Страница 192: ...Chapter 14 Statement Reference 184 Example OPEN master Dat AS 1 FIELD 1 20 AS bar 10 AS ky CLFILE 1 CLOSE 1...
Страница 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...
Страница 349: ...341 Run time errors Error code Meaning 05h Parameter out of the range checktype is out of the range...
Страница 383: ...375 Run time errors Reference Error code Meaning 05h Parameter out of the range Functions LEFT LEN and RIGHT...