Matrix1 Utility Plug-ins

OPEN DATAFILE TO READ


Syntax

OPEN DATAFILE TO READ FileId, Filename$
IsOpen = OPEN DATAFILE TO READ( FileId, Filename$ )

Description

Attempts to open the specified file for read-only operation.

If the file does not exist, or you do not have the correct access permissions to open the file then the command will fail silently.

If using the function form of this instruction, the function will return 1 if the file is open or 0 otherwise.

If using the command form of this instruction, you can check if the file was successfully opened by using the DATAFILE EXIST() function.

Go back to ...

Matrix1Util_22 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011