Z

<< Click to Display Table of Contents >>

Navigation:  Concordance Programming Language Reference > Functions >

Z

The following topic discusses the Concordance Programming Language (CPL) functions that begin with the letter Z. For more information on CPL functions, see Functions, About the Advanced Programming Features, and About CPL Functions.

Zap

int zap(int db);

Description - Removes every document from the database, erases all associated database files except for the stopword file, .key and .dcb files. Use with caution, this is a destructive command.

Return Value - Zero if zap() was successful, nonzero if zap() was not able to clear the database. This can happen if the database has read-only access, or if it is in use by other network users.