Chapter 14. Statement Reference
282
CD
is a check digit. Specifying a
C
to
CD
makes the Interpreter check bar
codes with MOD-16. The check digit is included in the number of digits.
OPEN "BAR:" AS #1 CODE "N:8AAC"
Code 39 (
M
)
Syntax:
M[:[mini.no.digits[-max.no.digits]][CD]
[,[mini.no.digits[-max.no.digits]][CD]]
[,[mini.no.digits[-max.no.digits]][CD]]]
where
mini.no.digits
and
max.no.digits
are the minimum and maximum
numbers of digits for bar codes to be read by the BHT, respectively.
They should be a numeral from 1 to 99, excluding start/stop characters. They
should satisfy the following condition:
mini.no.digits
≤
max.no.digits
If both of
mini.no.digits
and
max.no.digits
are omitted, then the
default reading range is 1 to 99 digits. If only
max.no.digits
is omitted,
the BHT can only read the number of digits specified by
mini.no.digits
.
CD
is a check digit. Specifying a
C
to
CD
makes the Interpreter check bar
codes with MOD-43. The check digit is included in the number of digits.
OPEN "BAR:" AS #1 CODE "M:8-12C"
Code 93 (
L
)
Syntax:
L[:[mini.no.digits[-max.no.digits]
[,[mini.no.digits[-max.no.digits]]
[,[mini.no.digits[-max.no.digits]]]
where
mini.no.digits
and
max.no.digits
are the minimum and maximum
numbers of digits for bar codes to be read by the BHT, respectively.
They should be a numeral from 1 to 99, excluding start/stop characters and
check digits. They should satisfy the following condition:
mini.no.digits
≤
max.no.digits
If both of
mini.no.digits
and
max.no.digits
are omitted, then the
default reading range is 1 to 99 digits. If only
max.no.digits
is omitted,
the BHT can only read the number of digits specified by
mini.no.digits
.
OPEN "BAR:" AS #1 CODE "L:6-12"
Neither start/stop characters nor check digits will be transferred to the barcode
buffer.
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...