Text length LENGTH

Dest = how many characters the text holds.

TagAfter two scans
PartId'PUMP-07'
PartIdLen7

How it's used

Use LEN to check scanned text is complete.

TagValue
Barcode'ABC-12345'
CodeLen9
CodeOK1

Barcode has 9 characters, so CodeOK is on.

Operands

OperandData typeRead or write
SourceSTRING or a numberReads
DestDINTWrites

Common mistakes

  • Counting unused capacityLength is the current text length; Capacity is the space reserved for it.