The [file->isOpen] method returns true if the [file] object has an open connection to a file, otherwise it returns false.
local(f) = file(...)
#f->isOpen
The code below shows the result of calls to [file->isOpen] at various times in the life of the [file] object
Code
local(my_file) = file('/rhino/test.txt')
#my_file->isOpen
#my_file->openRead
'<br />'
#my_file->isOpen
#my_file->close
'<br />'
#my_file->isOpen
Result
false
true
false
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments