Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7218
Chapter 2 Program Instructions
REDIRECT OUT
Field of Application
Statement fo redirecting the output data to a created le.
Syntax REDIRECT
OUT[<sexp>]
<sexp> is, optionally, the name of the le to be created and where
the output will be stored.
Remarks
Normally the output data will be transmitted on the standard output channel
(see SETSTDIO statement). In most cases, this means the screen of the host.
However, by means of a REDIRECT OUT <sexp> statement, a le can be
created to which the output will be redirected. That implies that no data will be
echoed back to the host. Normal operation, with the output being transmitted
on the standard output channel again, will be resumed when a REDIRECT
OUT statement without any appending le name is executed.
Example
In this example, a le ("LIST.DAT") is created to which the names of the
les in the printers permanent memory is redirected. The redirection is then
terminated (line No. 30) and the le is OPENed for input.
10 REDIRECT OUT "LIST.DAT"
20 FILES "c:"
30 REDIRECT OUT
40 OPEN "LIST.DAT" FOR INPUT AS #1
. . . . .
. . . . .
. . . . .