05.01.2013 Views

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

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.

File Input/Output Commands<br />

FILE-CLOSE<br />

FILE-DELETE<br />

FILE-OPEN<br />

Closes the opened text file.<br />

Syntax: FILE-CLOSE = $filehandle<br />

Deletes a DOS file.<br />

Syntax: drive:path\filename.lbl<br />

Default: None<br />

Opens a DOS text file.<br />

Syntax: FILE-OPEN = filename, access, $filehandle<br />

Notes:<br />

access must be one of the following:<br />

RDONLY - Open for reading only<br />

Appendix C: Automated Print Control<br />

WRONLY - Open for writing only. When the file exists, it is<br />

cleared. When the file does not exist, it is created.<br />

RDWR - Open for reading and writing.<br />

APPEND - Open for reading and writing. The file pointer is set<br />

to the end of the file prior to each write.<br />

$filehandle is the file handle. On error, the $filehandle is -1.<br />

$ERRORCODE<br />

0 = Success<br />

1 = Failure<br />

Legitronic User Manual (v3.4) 199

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

Saved successfully!

Ooh no, something went wrong!