verifDocumentExists
verifDocumentExists(
g_sessionId
t_fileName
)
=> t / nil
Description
Checks if the given file exists in the documents directory of the Verifier cellview.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
Value Returned
|
The file exists in the |
|
Examples
Opens a Verifier cellview and checks if a specified document file exists in the current session.
uid = verifOpenCellView("test" "sample" "verifier")
=> 0
Adds file.txt from the current directory to the session.
verifAddDocument(sess "file.txt")
=> "documents/file.txt"
verifDocumentExists(sess "file.txt")
=> t
Returns nil if the file is not found.
verifDocumentExists(sess "another_file.txt")
=> nil
Related Topics
Return to top