Product Documentation
Virtuoso ADE Verifier SKILL Reference
Product Version IC23.1, November 2023

verifRemoveDocument

verifRemoveDocument(
g_sessionId 
t_fileName
)
=> t / nil

Description

Removes the given file from documents directory of the Verifier cellview.

Arguments

g_sessionId

Integer, string number, or window specifying the Verifier session ID. For example, 0, "0", or window(2).

t_fileName

The name of the file to be removed.

Value Returned

t

The file is removed successfully.

nil

The file does not exist or could not be removed.

Examples

Opens a Verifier cellview and removes a document file from 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"
verifGetDocuments(sess)
=> ("file.txt")
verifRemoveDocument(sess "file.txt")
=> t
Returns nil if the file does not exist.
verifGetDocuments(sess)
=> nil
verifRemoveDocument(sess "file.txt")
=> nil

Related Topics

verifAddDocument

verifAddImage

verifDocumentExists

verifGetDocuments

verifGetImages

verifImageExists

verifRemoveImage


Return to top
 ⠀
X