Sign In
Upload
Manuals
Brands
Denso Manuals
Handhelds
BHT-BASIC 100 SERIES
Denso BHT-BASIC 100 SERIES Terminal Manuals
Manuals and User Guides for Denso BHT-BASIC 100 SERIES Terminal. We have
1
Denso BHT-BASIC 100 SERIES Terminal manual available for free PDF download: Programmer's Manual
Denso BHT-BASIC 100 SERIES Programmer's Manual (577 pages)
Brand:
Denso
| Category:
Handhelds
| Size: 6 MB
Table of Contents
Chapter 1 Software Overview for the Bht
9
Table of Contents
9
Software Overview
10
Software Structure of the BHT
10
Overview of BHT-BASIC
12
Bht-Basic
13
Features
13
What's New in BHT-BASIC 3.5 Upgraded from BHT-BASIC 3.0
14
1 ] Compiler
14
2 ] Statements
14
Program Development and Execution
16
Compiler
16
Interpreter
16
Chapter 2 Development Environment and Procedures
17
Overview of Development Environment
19
Required Hardware
19
Required Software
20
Overview of Developing Procedures
21
Developing Procedures
21
Functions of BHT-BASIC 3.5
22
Writing a Source Program
23
Writing a Source Program by an Editor
23
Rules for Writing a Source Program
23
Producing a User Program
25
Starting the BHT-BASIC 3.5 Compiler
25
Outline of User Program or Library Production Procedure
26
1 ] Building a User Program out of a Single Source Program File
26
2 ] Building a Library out of a Single Source File, or Building a User Program or Library out of Multiple Source Files
26
Designating a Single Source File or a Project File
27
1 ] Select a Source File
27
Designating a Single Source File
27
1 ] Create a New Project
28
Designating a Project File
28
2 ] Select an Existing Project File
29
3 ] Add Files to a Project File
30
4 ] Select Files in the Active Project
31
Compiling and Building
33
1 ] Specifying the Compiling and Linking Options
33
2 ] Compiling
34
3 ] Building
34
Setting the Editor for Displaying Files
35
Error Messages and Their Indication Onto the Main Window
36
1 ] Selecting Either an Editor or Main Window as an Error Message Output Device
36
Window
36
How Error Messages Are Displayed on the Editor or Main Window
37
Options
38
1 ] Compiling Options
38
2 ] Linking Options
39
3 ] Outputting Debug Information Files
39
4 ] Outputting List Files
40
5 ] Outputting a Mapfile
43
6 ] Calculating the Address for a Statement Causing a Run-Time Error
44
Starting the BHT-BASIC Compiler from the Command Line
45
1 ] Syntax
45
2 ] Options
46
3 ] Error Level Indication by ERRORLEVEL
48
Output from the BHT-BASIC 3.5 Compiler
49
Structure of User Programs and Libraries
51
Downloading
52
Overview of Transfer Utility/Ir-Transfer Utility C/Ir-Transfer Utility E
52
Setting up the BHT
52
Executing a User Program
53
Starting
53
Execution
53
Termination
53
Chapter 3 Program Structure
54
Program Overview
55
Statement Blocks
55
1 ] Subroutines
55
2 ] Error-/Event-Handling Routines
55
3 ] User-Defined Functions
56
4 ] Block-Structured Statements
56
Notes for Jumping Into/Out of Statement Blocks
57
Handling User Programs
58
User Programs in the Memory
58
Program Chaining
58
Included Files
59
Chapter 4 Basic Program Elements
60
Structure of a Program Line
61
Format of a Program Line
61
1 ] Labels
61
2 ] Statements
62
3 ] Comments
62
Program Line Length
63
Usable Characters
64
Special Symbols and Control Codes
65
Labels
67
Identifiers
68
Reserved Words
69
Chapter 5 Data Types
70
Constants
71
Types of Constants
71
1 ] String Constants
71
2 ] Numeric Constants
71
Variables
73
Types of Variables According to Format
73
1 ] String Variables
73
2 ] Numeric Variables
74
Classification of Variables
75
User-Defined Functions
76
Type Conversion
77
Type Conversion Examples
78
Scope of Variables
79
Global Variables
79
Local Variables
81
Variables Not Declared to be Global or Local
82
Common Variables
83
Chapter 6 Expressions and Operators
84
Overview
85
Operator Precedence
86
Operators
88
Arithmetic Operators
88
Relational Operators
89
Logical Operators
90
1 ] the NOT Operator
90
2 ] the and Operator
91
3 ] the or Operator
91
4 ] the XOR Operator
91
Function Operators
92
String Operators
92
Chapter 7 I\/O Facilities
94
Output to the LCD Screen
96
Display Fonts
96
1 ] Screen Mode, Font Size, and Display Angle
96
2 ] Character Attributes (Reverse Font Attribute, Enlargement Attribute, Tone Attribute)
98
Coordinates on the LCD
99
Dot Patterns of Fonts
102
Mixed Display of Different Screen Modes, Font Sizes, And/Or Character Enlargement Sizes
108
1 ] ANK Mode and Kanji Mode Together in One Line
108
2 ] Standard-Size and Small-Size Fonts Together on the same Screen
108
3 ] Regular-Size and Double-Width Characters Together on the same Screen
109
4 ] Regular-Size and Double-Height Characters Together on the same Screen
109
5 ] Regular-Size and Quadruple-Size Characters Together on the same Screen
110
Displaying User-Defined Characters
112
Vram
113
Other Facilities for the LCD
115
Input from the Keyboard
116
Alphabet Entry
116
Other Facilities for the Keyboard
118
1 ] Auto-Repeat
118
2 ] Shift Key
118
Timer and Beeper
119
Timer Functions
119
BEEP Statement
119
Controlling and Monitoring the I/Os
120
Controlling by the out Statement
120
Monitoring by the INP Function
120
Monitoring by the WAIT Statement
121
Entry from the Touch Screen (Only for Models Equipped with a Touch Screen)
122
Outline
122
Function Touch Keys
123
1 ] Enabling or Disabling the Function Touch Keys
123
2 ] Key Numbers Assigned to the Function Touch Keys
123
3 ] Assigning Data to a Function Touch Key
124
4 ] Displaying a Character String on a Function Touch Key
125
5 ] Keystroke Trapping
126
User-Defined Touch Keys
127
1 ] Creating a User-Defined Touch Key with "CONSOLE. FN3
127
2 ] Canceling the User-Defined Touch Key with "CONSOLE. FN3
128
3 ] Keystroke Trapping
128
Software Keyboard
129
1 ] Enabling/Disabling Software Keyboard
129
2 ] Displaying the Software Keyboard
131
3 ] Moving the Software Keyboard
131
Getting the Touch Screen Status
132
1 ] Enabling the Touch Screen
132
2 ] Getting the Touch Screen Status and the Coordinates that Is Pressed Last
132
Chapter 8 Files
133
Data Files and Device I/O Files
133
Access Methods
134
Data Files and Device I/O Files
134
Overview
135
Naming Files
135
Structure of Data Files
135
Data File Management by Directory Information
137
Programming for Data Files
137
About Drives
140
File Overview
134
Bar Code Device
141
Overview
141
Programming for Bar Code Device
145
Programming for Data Communications
147
Communications Device
149
Hardware Required for Data Communications
149
Overview of Communications Protocols
150
1 ] BHT-Protocol
150
File Transfer Tools
150
1 ] Transfer Utility
150
2 ] BHT-Ir Protocol
151
2 ] Ir-Transfer Utility C
152
3 ] Ir-Transfer Utility E
152
Chapter 9 Event Polling and Error/Event Trapping
153
Overview
154
Event Polling
155
1 ] Programming Sample
155
2 ] I/O Devices Capable of Being Monitored by the Event Polling
156
Error Trapping
157
1 ] Overview
157
2 ] Programming for Trapping Errors
158
Event (of Keystroke) Trapping
159
1 ] Overview
159
2 ] Programming for Trapping Keystrokes
159
Chapter 12 Power-Related Functions
165
Low Battery Warning
166
Prohibited Simultaneous Operation of the Beeper and Illumination LED
166
Wakeup Function
167
Remote Wakeup Function
168
1 ] Outline
168
2 ] Remote Wakeup Operation
168
3 ] Remote Wakeup Program
170
Chapter 14 Statement Reference
176
Apload
177
Beep
182
Call
185
Chain
189
Clfile
191
Close
193
Cls
194
Common
195
Const
197
Cursor
198
Data
199
Declare
200
DEF FN (Single-Line Form)
202
Def Fn
206
Defreg
210
DIM
214
End
216
Erase
217
Field
218
For
220
Function
222
Get
227
Global
229
Gosub
231
Goto
233
If...then...else...end if
234
Input
236
Input
239
Key
241
KEY on and KEY off
246
Kill
248
Kpload
250
Let
255
Line Input
256
Line Input
259
Locate
261
On Error Goto
265
On...gosub and On...goto
266
On Key
268
Open
270
Open "Bar
272
Open "Com
294
Out
298
Power
300
Print
302
Print
305
Print Using
307
Private
311
Put
314
Read
316
Rem
318
Restore
319
Resume
320
Return
322
Screen
323
Select
327
Sub
329
Wait
333
While
335
Xfile
337
Include
342
Additional Explanation for Statements
344
Chapter 15 Function Reference
345
Abs
346
Asc
347
Bcc
348
Chkdgt
350
Chr
354
Country
356
Csrlin
358
Date
359
Eof
361
Erl
363
Err
364
Etx
365
Fre
366
Hex
367
Inkey
368
Inp
369
Input
370
Instr
372
Int
374
Left
375
Len
376
Loc
377
Lof
379
Mark
380
MID
382
Pos
384
Right
385
Search
386
Soh
388
Str
389
Stx
390
Time
391
Timea/Timeb/Timec
393
Val
394
Chapter 16 Extended Functions
395
Overview
396
Reading or Writing System Settings From/To the Memory (SYSTEM.FN3)
397
Function Number List of SYSTEM.FN3
397
Detailed Function Specifications
398
16.3 Controlling the LCD and Touch Screen (Console.fn3)
407
Controlling the LCD and Touch Screen (CONSOLE.FN3)
407
Function Number List of CONSOLE.FN3
407
Detailed Function Specifications
408
Draw a Dot
408
Draw a Dotted Line
410
Draw a Filled Rectangle
411
Get Drawn Dot State
414
Set the Number of Function Touch Keys to be Enabled
415
Set a Character String to be Displayed on a Function Touch Key
415
Cancel the User-Defined Touch Key
417
Get Coordinates on the Touch Screen that Is Pressed Last
418
Controlling System Files (SYSMDFY.FN3)
419
Function Number List of SYSMDFY.FN3
419
Detailed Function Specifications
420
Calculating a CRC (CRC.FN3)
423
Function Number List of CRC.FN3
423
Detailed Function Specifications
423
Chapter 17 Spread Spectrum Communication
425
Overview
426
(For Models Equipped with a Spread Spectrum Wireless Block)
427
Programming for Spread Spectrum Communication
428
Spread Spectrum Communications-Related Statement
429
Spread Spectrum Communication Library (SS.FN3)
430
Overview
430
Detailed Function Specifications
431
Chapter 18 TCP\/IP
436
Spread Spectrum Communication
427
Two Sides
438
Bht
438
Hosts
438
TCP/IP over Spread Spectrum System
439
General Procedure
439
1 ] Configure Spread Spectrum Communications Device
439
2 ] Configure TCP/IP System
440
3 ] Declare TCP/IP Communications Pathway
441
4 ] Open Spread Spectrum Communications Device
441
5 ] Check Spread Spectrum Communications Device Synchronization with Master
442
6 ] Connect to TCP/IP Communications Pathway
443
7 ] Transfer Data or File Via Socket Interface
443
8 ] Disconnect TCP/IP Communications Pathway
444
9 ] Close Spread Spectrum Communications Device
444
Programming Notes for Socket API According to UDP
445
Programming Notes for TCP/IP Communication
447
Sample Program
449
TCP/IP over Irda Communication System
450
General Procedure
450
1 ] Configure Irda Communications Device for LAN-Support System
450
2 ] Configure TCP/IP System
451
3 ] Declare TCP/IP Communications Pathway
452
4 ] Open Irda Communications Device
452
5 ] Connect to TCP/IP Communications Pathway
453
6 ] Transfer Data or File Via Socket Interface
453
7 ] Disconnect TCP/IP Communications Pathway
454
8 ] Close Irda Communications Device
454
Programming Notes for Socket API According to UDP
455
Programming Notes for TCP/IP Communication
455
Sample Program
456
Socket API
459
Overview
459
Udp
461
Programming Notes for Socket API
465
FTP Client
467
Overview
467
File Formats
467
1 ] User Programs (*.PD3)
467
2 ] Extension Libraries (*.FN3 and *.EX3)
469
3 ] Data Files
470
Using FTP Client
473
1 ] Basic Procedure
473
2 ] Configuring FTP Client
473
3 ] Calculating Memory Requirements
474
4 ] Optimizing Drive (Recommended)
475
5 ] FTP Transfers
475
Socket Library (SOCKET.FN3)
476
Overview
476
Detailed Function Specifications
479
FTP Library (FTP.FN3)
503
Overview
503
Detailed Function Specifications
506
Appendices
520
Appendix A Error Codes and Error Messages
521
A1. Run-Time Errors
521
A2. Compilation Errors
525
Appendix B Reserved Words
534
Appendix C Character Sets
535
C1. Character Set
535
C2. National Character Sets
536
Appendix D I/O Ports
537
Appendix E Key Number Assignment on the Keyboard
548
Appendix F Memory Area
549
Appendix G Handling Space Characters in Downloading
551
Appendix H Programming Notes
555
Appendix I Program Samples
556
Appendix J Quick Reference for Statements and Functions
559
Appendix K Unsupported Statements and Functions
567
Advertisement
Advertisement
Related Products
Denso 1732 Series
Denso BHT-100BF
Denso BHT-1306B
Denso BHT-1306BB
Denso BHT-1306BWB
Denso BHT-1306Q
Denso BHT-1306QB
Denso BHT-1306QWB
Denso BHT-202Q
Denso BHT-202QW-CE
Denso Categories
Barcode Reader
Touch terminals
Scanner
Robotics
Handhelds
More Denso Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL