file.open.check
Syntax
- b = file.open.check(sname<,smode><,stype>)
Check if you can open a file.
This function checks to see if opening a file with the name sname using mode smode and type stype would be successful. It returns true on success and false on failure.
See
file.open
for a full description of the meaning of smode and stype.Returns: b - true if the file could be opened. Arguments: sname - the name of the file to be opened. smode - the mode of the file to be opened. stype - the type of the file to be opened.
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |