CitectVBA file Input/Output (I/O) functions are provided to enable read and write disk file functionality.
The file I/O functions predefined in CitectVBA are:
Changes the system environment current directory on the specified drive. |
|
Changes the system environment current drive to the specified drive. |
|
Closes the file/s previously opened with the Open statement. |
|
Returns the current system environment path for the specified drive (Drv). |
|
Returns a file or directory name that matches the given Fileand Attrib arguments. |
|
Returns a boolean True or False value during file access that indicates whether the current position of an open file has reached the end of the file. |
|
Copies a file from Src to Dest. |
|
Determines the byte length of a file. |
|
Retrieves the next sequential system file number available for association with a file. |
|
Reads data from a disk file into a variable. |
|
Returns an Integer representing the attribute settings of a file, directory, or volume. |
|
Reads data from a Sequential file and assigns that data to variables. Input function returns characters from a file opened in Input or Binary mode. |
|
Deletes files from disk. |
|
Reads a single line from an open sequential file and assigns it to a String variable. |
|
Returns a number indicating the current position within a file opened using the Open statement. |
|
Returns a number indicating the byte length of a sequential file opened using the Open statement. |
|
Creates the directory specified in the Path parameter. |
|
Renames the disk file specified in the OldFileNameparameter, to the name specified in the NewFileName parameter. |
|
Enables input/output (I/O) to a disk file. |
|
Displays a message in the CitectSCADA Kernel and the Cicode Editor output window. |
|
Reads data from OutputList and writes that data to a sequential file. |
|
Writes data from a variable to a disk file. |
|
Deletes the directory specified in the Path parameter. |
|
Sets the current position within a file opened using the Open statement, ready for the next read or write action. |
|
Writes data to a Sequential file opened in output or append mode and reads that data from a list of variables. |