17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OPEN<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for opening a file or device – or creating a new file – for input,<br />

output or append, allocating a buffer and specifying the mode of access.<br />

Syntax OPEN [FOR ´ ´ ] AS [#][LEN=]<br />

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

names must not contain any colon character (:).<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 for<br />

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

open at the same time.<br />

Sequential Access Mode:<br />

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

or APPEND:<br />

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

data. Existing files/devices only.<br />

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

data.<br />

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

will be appended without replacing existing data.<br />

Random Access Mode:<br />

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

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

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

access mode.<br />

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

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 />

Electronic Keys:<br />

Each key circuit may contain a number of “key items”. There are two types<br />

of key items:<br />

• Lock (device "lock:")<br />

• Storage (device "storage:")<br />

Each key item has a file name consisting of max. 4 characters, usually<br />

appended by a password. The password consists of a delimiter character (?)<br />

indicating the password followed by the actual password (max. 4 characters).<br />

Failure to include the correct password (if such is required) in the file name<br />

will result in an error.<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 165

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

Saved successfully!

Ooh no, something went wrong!