Denso BHT-200QW Specifikace Strana 315

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 587
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 314
Chapter 15. Function Reference
307
When CDtype is I (ITF), the length of barcodedata must be an even number of two
or more digits. If not, CHKDGT$ returns a null string.
- To check that the CD is correct:
Pass a CD-suffixed barcodedata to a CHKDGT$ as shown below. If the returned
value is equal to the CD, the CD data is suitable for the barcodedata.
Sample coding:
IF CHKDGT$("123457","I")="7"
THEN ...
- To add a CD to barcode data:
Pass barcodedata followed by a dummy character to a CHKDGT$ as shown below.
The returned value will become the CD to be replaced with the dummy character.
Sample coding:
PRINT "12345"+CHKDGT$("12345"+"0","I")
123457
When CDtype is M (Code 39), the length of barcodedata must be two or more
digits except for start and stop characters. If not, CHKDGT$ returns a null string.
- To check that the CD is correct:
Pass a CD-suffixed barcodedata to a CHKDGT$ as shown below. If the returned
value is equal to the CD, the CD data is suitable for the barcodedata.
Sample coding:
IF CHKDGT$("CODE39W","M")="W"
THEN ...
- To add a CD to barcode data:
Pass barcodedata followed by a dummy character to a CHKDGT$ as shown below.
The returned value will become the CD to be replaced with the dummy character.
Sample coding:
PRINT "CODE39"+CHKDGT$("CODE39"+"0","M")
CODE39W
Zobrazit stránku 314
1 2 ... 310 311 312 313 314 315 316 317 318 319 320 ... 586 587

Komentáře k této Příručce

Žádné komentáře