Xbasic
FILE_IS_OPEN Function
Syntax
Result_Flag as L = file_is_open(C filename )
Arguments
- Result_Flag
.T. = The specified file is open. .F. = The specified file is closed.
- filename
The path and name of a file.
Description
Returns .t. if the file is currently open.
Discussion
The FILE_IS_OPEN() function returns .T. (TRUE) if a file is open.
Example
? file_is_open("C:\Program Files\a5v6\Samples\WebAppServerDemo2\Customer.Dbf") = .F.
See Also