
LeCroy Corporation Verification Script Engine Manual, version 2.2
18.2 CloseFile()
This function closes an opened file.
Format: CloseFile(file_handle)
Parameters:
file_handle File “handle”
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.
…
Page 72 of 95
Komentarze do niniejszej Instrukcji