DcSetFilterExpression

From Catglobe Wiki
Revision as of 10:37, 20 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



dcSetFilterExpression

Set a conditional expression as a filter when calculating tabulation expressions.

Syntax

dcSetFilterExpression(condition)

Arguments

  • condition: is a string expression. It is a CGS conditional expression.

Return value

empty

Example

dcSetFilterExpression("Gender == 1 && Age == 18");

string a = dcGetFilterExpression();

print(a); // (Gender == 1 && Age == 18)

Availability

Version 5.5