Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 43
Chapter 2 Program Instructions
CLOSE
Field of Application
Statement closing one or several fi 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 fi le or device when it was
OPENed.
Remarks
This statement revokes OPEN. Only fi les or devices, which already have
been OPENed, can be CLOSEd.
A CLOSE statement for a fi le or device OPENed for sequential output
entails that the data in the buffer will be written to the fi le/device in question
automatically before the channel is closed.
When a fi le OPENed for random access is CLOSEd, all its FIELD
defi nitions will be lost.
END, NEW, and RUN will also close all open fi les and devices.
Examples
This statement closes all open fi les and devices:
200 CLOSE
A number of fi 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