beautypg.com

Devicefile – AMT Datasouth PAL User Manual

Page 84

background image

_devicefile

78

_devicefile

Description

Opens a device for reading and/or writing at a low access level.

Usage

FileStr AccessStr

_devicefile

OpenFile

FileStr

String. Specifies the name of the device to open.

AccessStr

String. Specifies the type of access to the device which the programmer desires.
See the file operator discussion for information on AccessStr.

Comments

Only a very small percentage of PAL applications require the use of the _devicefile and file
operators. Out of that small percentage, an even smaller percentage require the use of the
_devicefile operator.

When used with storage devices such as flash memory, the _devicefile operator normally by-
passes the printer's standard file management services. The operator allows the programmer to
directly access the storage medium. Especially in the case of performing any write operations, this
can result in irreparable damage to file management information contained on the storage media.
Thereby rendering any files contained on the media inaccessible.

Only experienced programmers with detailed information regarding the printer's use of storage
media should attempt to use the _devicefile operator.