Closes an open file.
Category: | External File |
Returned data type: | Integer |
Note: | The returned value is a Boolean value where 1= success and 0 = error. |
fileobject.CLOSE
The CLOSE method closes the file that is currently open file (which was opened by using a fileobject.OPEN call) is closed.
file myfile
if ( myfile.open("data.txt") ) then ...
rc = myfile.close()