Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

cndxfree

Frees an expression tree generated by cndxparse().

Declaration

cndxfree ( PTREE Tree );

Description

cndxfree() releases en entire PTREE structure.

Return Values

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful operation.

See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

Example

PTREE ptree; /* Expression tree. */

....

ptree = cndxparse(schema, names, expr, strlen(expr));

if (!ptree)

printf("Error: Unable to parse expression.\n");

else

printf("Successfully parsed expression.\n");

....

if ( ptree )

cndxfree (ptree);

See also

cndxeval, cndxparse, ctparsedoda, cndxrun, getcndxmem, putcndxmem

TOCIndex