Chapter 2. Development Environment and Procedures
43
2.4.10 Structure of User Programs and Libraries
If you specify a user program to be produced in the Project Configuration Files dialog box, the
BHT-BASIC 3.5 Compiler produces a user program provided that no compiling error or link
error occurs. The user program file will be given the same name as the project file and
annexed with an extension .PD3.
If you specify a library to be produced, the Compiler produces a library provided that no compil-
ing error or library error occurs. The library file will be given the same name as the project file
and annexed with an extension .LIB.
If the name of a newly produced file is the same as that of an existing file in the destination
directory, Compiler will overwrite the existing file with the new file.
Structure of user programs
A user program is expressed in the intermediate language, where statements, functions and
variables are in two-byte form of ASCII characters. A record is 128 bytes in length and
annexed with CR and LF codes.
When downloaded to the BHT and stored in its memory, a user program will be compressed
from two-byte form into single-byte hexadecimal form. Accordingly, the length of a record
comes to 64 bytes.
Structure of libraries
A library consists of more than one object filename and object information.
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...