File read and write functions – Multichannel Systems NeuroExplorer User Manual
Page 142
5.5.1. File Read and Write Functions
The following file read and write functions are available in NexScript
Function
Description
Returns the number of files that match the specified file filter.
Returns the file name for the specified index after GetFileCount()
was called.
Opens text file using the specified mode, returns file ID.
Closes the file.
Reads a line from the specified text file.
Writes a line of text to the specified file.
Opens a data file with the specified path.
Opens a new document (data file) with the specified timestamp
frequency.
Closes the specified document.
Saves the specified document.
Saves the specified document in a file with the specified file
path.
Saves the numerical results to a text file with the specified name.
Saves the summary of numerical results to a text file with the
specified name.
Saves the document in the text file with the specified file name.
Merges the specified files, returns the reference to the merged
file.
Reads binary value of a specified type.
Repositions file pointer by the specified offset.
Returns the path of the file selected in File Open dialog.
See Also
Introduction to NexScript Programming
Page 140