Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 43
Chapter 2 Program Instructions
CLOSE
Field of Application
Statement closing one or several les and/or devices for input/output.
Syntax CLOSE[[#] <nexp> [, [#] <nexp>...]]
# optionally indicates that whatever follows is a number.
<nexp> is the number assigned to a le or device when it was
OPENed.
Remarks
This statement revokes OPEN. Only les or devices, which already have
been OPENed, can be CLOSEd.
A CLOSE statement for a le or device OPENed for sequential output
entails that the data in the buffer will be written to the le/device in question
automatically before the channel is closed.
When a le OPENed for random access is CLOSEd, all its FIELD
de nitions will be lost.
END, NEW, and RUN will also close all open les and devices.
Examples
This statement closes all open les and devices:
200 CLOSE
A number of les or devices (No. 1-4) can be closed simultaneously using
any of the following types of statement:
200 CLOSE 1,2,3,4
or
200 CLOSE #1,#2,#3,#4
or
200 CLOSE 1,2,#3,4