Matrix1 Utility Plug-ins

OPEN DATAFILE TO UPDATE


Syntax

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

Description

Attempts to open the specified file for read-write operation. Any data that exists in this file will be preserved, allowing updates to take place.

If 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