TSC AUTO ID Technology Co., Ltd. 144 Copyright 2013 All Rights Reserved.
INPUT
Description
This command receives data through specific port. This command is used with portable keyboard
KP-200.
Syntax
INPUT ["Prompt string", number of digits], variables
The comma also can be replaced by semicolon, such as:
INPUT ["Prompt string"; number of digits]; variables
The prompt string is shown on keyboard LCD screen. The maximum length
of prompt string is 20 characters
Maximum number of characters is 255
The variable to receive input data
Example
Sample code
DOWNLOAD "TEXT.BAS"
SIZE 4,3
GAP 0,0
DIRECTION 1
:START
INPUT "CODE 39 :",C39$
INPUT "EAN 13:",12,E13$
CLS
TEXT 20,50,"3",0,1,1,"INPUT and KP-200 Test"
BARCODE 20,100,"39",48,1,0,2,5,C39$
BARCODE 20,200,"EAN13",48,1,0,4,4,E13$
PRINT 1
GOTO START
EOP
TEXT
123456
123456789012
See Also
DOWNLOAD, EOP, END, GOTO