Writeline function – Multichannel Systems NeuroExplorer User Manual
Page 148
Advertising
5.5.1.6. WriteLine Function
WriteLine Function
Writes a line of text to a text file.
Syntax
WriteLine(fileID, lineString)
Parameters
Parameter
Type
Description
fileID
double
File ID received from OpenFile function.
lineString
string
The string to be written to the file.
Returns
None
Comments
None
Usage
NexScript
% open a file in write mode
fileID = OpenFile("C:\results.txt", "w")
WriteLine(fileID, "first line")
CloseFile(fileID)
See Also
Introduction to NexScript Programming
Page 146
Advertising