Software for Handy TerminalsDevelopment Tools
BHT-BASIC4.0 Development Pack
A software package required for the development of BHT applications
| Model |
| BHT-BASIC4.0 Development Pack |
| BHT-BASIC4.0 Up GradePack |
Each region has different availability of sales product.
The Trial Edition of this software can be downloaded from QBNet.
Software Tool for Developing Applications
This BHT-BASIC4.0 Development Pack contains the complete software programs required for developing applications for the BHT Series scanners. You can start a development at right using the provided software and accessory products described below.
- BHT-BASIC 4.0 Compiler (including BHT-BASIC3.6)
- BHT-BASIC 4.0 Remote Debugger (debugging BHT-BASIC3.6 is enabled)
- BHT-BASIC 4.0 Transfer Utility (including BHT-Ir protocol)
- PC-BHT cable (RS232C)
Easy-To-Develop Programming Language
Since a BASIC language based on the Microsoft MS-BASIC ideal for handy terminals is used, this development package offers features unique to a barcode reader just with one command. Included in the package are commands and functions exclusively used for barcode reading and data reception/transmission.
Since this BHT-BASIC operates in the interpreter environment, reliable operation free from expected failures such as breakdown or memory destruction caused by a potential programming error is realized.
Expanded Functions
Basic elements of conventional BHT-BASIC3.6 programs, such as a size of program and data file, variable and label length, are largely extended, which all together will help give much more flexibility in developing a program.(1)
High Compatibility
You can compile a source program written by BHT-BASIC3.x without a change using the BHT-BASIC4.0 compiler.(2)
- However, these expansions apply only to the BHT-300 Series scanners. The BHT-7000/BHT-7500/BHT-8000/BHT-100 Series still use the existing BHT-BASIC3.6 basic elements.
- Note that programs that rely on the hardware, such as communication speed, should be appropriately modified.
Basic Features of BHT-BASIC4.0
The BHT-BASIC4.0, an extended version of BHT-BASIC3.6, has been enhanced to support even a larger file size and program size. In addition, its enhanced variable scope and valid duration combined with a wide range of selectable user-defined functions have increased the efficiency of program development.
In the BHT-BASIC4.0A, an execution program has a .PD4 type extension, instead of a .PD3 type conventionally adapted in BHT-BASIC3.x.

Operating Environment of BHT-BASIC4.0 (Supported BHTs)
The executable programs (PD4) complied by the BHT-BASIC4.0 Development Pack are designed to operate on the BHT-300 Series scanners equipped with a system compatible with BHT-BASIC4.0. They do not run on the BHT scanners, such as BHT-8000 Series, equipped with the conventional BHT-BASIC3.x-supported systems.
Any source programs written by BHT-BASIC4.0 cannot be complied in the BHT-BASIC3.6 configuration.
Wide Selections of Data File Sizes
Data file sizes are extended to meet large volumes of data.
| Maximum number of records |
Increased to 2G from 32,767 records (equivalent to a maximum No. of long integer) |
| Maximum record length |
Increased to 65,535 from 255 bytes |
| Field variable size |
Increased to 8,192 from 255 characters (equivalent to a maximum length of character string) |
| Number of fields |
Increased to 254 from 16 fields |
Extended Variable Types
To gain access to a large amount of storage, types of variables are extended. You can use extended versions of variables on the BHTs.
- Supporting long integers
- A maximum length of character string is significantly increased from 255 to 8,192 characters
Enhanced Variable Scope/Valid Duration
The scope of variable, a range in which the variable can be referred to, is enhanced to make it explicitly definable (PUBLIC statement).
In addition, controlling the valid duration of each variable, or a period the variable remains valid, specified in the user-defined function is possible (DIM, PRIVATE and STATIC statements).
Extended Basic Program Elements
Programming is simple and easy as a result of increase in the following element sizes.
| Program |
Increased to 3,2767 from 8,192 characters per line |
| Number of program lines is increased to 32,767 from 9,999 |
| Program size is increased to 2 GB max. from 128 KB(1) max. (However, it depends on the memory size of BHT.) |
| Label |
Number of characters is increased to 255 from 10 characters |
| Identifier |
Number of characters is increased to 255 from 10 characters |
| Number of available identifiers is increased to 1,024 from 255 for each variable type |
- 64 KB program cord + 64 KB register variable