Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7126
Chapter 2 Program Instructions
INPUT (IP)
Field of Application
Statement for receiving input data via the standard IN channel during
the execution of a program.
Syntax INPUT|IP[<scon><;|,>]<<nvar>|<svar>>[,<<nvar>|<svar>>...]
<scon><;|,> is an optional prompt string, followed by a semicolon
or comma.
<<nvar>|<svar>> are variables to which the input data will be assigned.
Remarks
For information on standard I/O channel, see SETSTDIO statement. By
default, "uart1:" is the standard I/O channel.
During the execution of a program, an INPUT statement will interrupt
the execution. A question mark and/or a prompt will be displayed on the
screen of the host to indicate that the program is expecting additional data
to be entered. The prompt can be used to tell the operator what type of
data he or she is expected to enter.
The prompt will be appended by a question mark if a semicolon (;) is entered
after the prompt string. If a comma (,) is used in that position, the printing
of the question mark will be suppressed.
If a prompt is not used, the question mark will always be displayed.
Do not enter any comma or semicolon directly after the keyword, only after
the prompt, or in order to separate variables.
The input data should be assigned to one or several variables. Each item
of data should be separated from next item by a comma. The number of
data items entered must correspond to the number of variables in the list, or
else an error condition will occur. The variables may be any mix of string
variables and numeric variables, but the type of input data must agree with
the type of the variable, to which the data is assigned.
Input can also be done directly to the system variables TIME$, DATE$,
and SYSVAR.
The maximum number of characters that can be read using an INPUT
statement is 32,767 characters.
Note that INPUT lters out any incoming ASCII 00 dec. characters (NUL).
INPUT does not support auto-hunting (see SETSTDIO).