3 writestring(), Rite, Tring – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual
Page 72
Advertising
Teledyne LeCroy
Verification Script Engine Reference Manual
Version 6.6x
67
17.3 WriteString()
This function writes a text string to the file.
Format:
WriteString( file_handle, text_string )
Parameters:
file_handle
File “handle”
text_string
Text string”
Example:
…
set file_handle = 0;
…
file_handle = OpenFile( “D:\\Log.txt” ); # Opens file, the previous contents
# are erased.
…
WriteString( file_handle, “Some Text1” ); # Write text string to file
WriteString( file_handle, “Some Text2” ); # Write text string to file
…
CloseFile( file_handle ); # Closes file
…
Advertising