Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 127
Chapter 2 Program Instructions
INPUT (IP), cont.
Examples
This example shows input to one numeric variable and one string variable:
10 INPUT "ADDRESS";A%,B$
20 PRINT A%;" ";B$
30 IF A% > 0 THEN GOTO 50
40 GOTO 10
50 END
RUN
yields:
ADDRESS?
When the prompt ADDRESS? appears on the screen, you can type the
input data on the terminals keyboard, for example:
999, HILL STREET
Note the separating comma.
If the input text data contains a comma, which shall be printed, you must
enclose the input data with quotation marks ("...."), for example:
999, "HILL STREET, HILLSBOROUGH"
Numeric input data must not include any decimal points.
This example shows how the date can be set directly from the keyboard
of the host:
INPUT "Enter date: ",DATE$
yields:
Enter date:
When the prompt Enter date:" appears on the screen of the host, you can
type the date as a six-digit combination of year, month and day (see DATE$
variable). Time can also be set using the same method.