
273
Codabar (NW-7) (
N
)
Syntax:
N[:[mini.no.digits[-max.no.digits]][startstop][CD]
[,[mini.no.digits[-max.no.digits]][startstop][CD]]
[,[mini.no.digits[-max.no.digits]][startstop][CD]]]
where
mini.no.digits
and
max.no.digits
are the minimum and maxi-
mum numbers of digits for bar codes to be read by the BHT, respectively.
They should be a numeral from 3 to 99 and 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 from the minimum number of digits specified in Sys-
tem Mode up to 99 digits.
If only
max.no.digits
is omitted, the BHT can only read the number of
digits specified by
mini.no.digits
.
start
and
stop
are the start and stop characters, respectively. Each of
them should be an
A
,
B
,
C
, or
D
. If a question mark (?) is specified, it acts as
a wild card. The start and stop characters are included in the number of digits.
The
A
through
D
will be stored in the barcode buffer as
a
through
d
.
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"
To specify multi-line code scanning, the above syntax should be preceded by
an ampersand (
&
) and should be repeated by the number of lines of codes to
be scanned. In multi-line code scanning, no question mark (?) should be
specified to
startstop
. (For detailed specifications of multi-line code scan-
ning, refer to the Multi-line code scanning given on page 277.)
Example: To scan 3 lines of Codabar codes, write as follows:
OPEN "BAR:" AS #1 CODE "&","N:8","N:6","N:4"
or
OPEN "BAR:" AS #1 CODE "&","N:8,6,4"
Содержание 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...