02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OPEN<br />

Chapter —Program Instructions<br />

Purpose Statement for opening a file, device (for example a network connection)—<br />

or creating a new file—for input, output, or append, allocating a buffer,<br />

and specifying the mode of access.<br />

Syntax OPEN[FOR ↔ ↔ ]AS [#]<br />

[LEN=]<br />

is the file or device to be opened, or the file to be created. File<br />

names must not contain any colon character (:). A network connection<br />

can be specified.<br />

# indicates that whatever follows is a number. Optional.<br />

is a designation number for the OPENed file or device.<br />

is, optionally, the length of the record in bytes (default 128<br />

bytes).<br />

Remarks An OPEN statement must be executed before a file or device can be used<br />

for input, output, and/or append. A maximum of 25 files and/or devices<br />

can be open at the same time.<br />

Sequential Access Mode<br />

The access mode can optionally be specified as sequential INPUT,<br />

OUTPUT, or APPEND:<br />

INPUT Sequential input from the file/device, replacing existing data.<br />

Existing files/devices only.<br />

OUTPUT Sequential output to the file/device, replacing existing data.<br />

APPEND Sequential output to the file/device, where new data will be<br />

appended without replacing existing data.<br />

Random Access Mode<br />

If no access mode is specified in the statement, the file/device is opened<br />

for both input and output (RANDOM access mode). FIELD, LSET,<br />

RSET, PUT, and GET can only be used on records in files OPENed in the<br />

RANDOM access mode.<br />

Please refer to the DEVICES statement for information on which devices<br />

can be opened for the different modes of access.<br />

Lists of the files stored in the various parts of your printer’s memory can be<br />

obtained by the use of the FILES statements.<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!