Difference between revisions of "DcSetFilterExpression"
(jrfconvert import) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Data_Cache_Functions]] |
− | | + | {{HelpFiles}} |
====dcSetFilterExpression==== | ====dcSetFilterExpression==== | ||
Line 21: | Line 21: | ||
''dcSetFilterExpression("Gender == 1 && Age == 18");'' | ''dcSetFilterExpression("Gender == 1 && Age == 18");'' | ||
+ | |||
+ | ''string a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); // (Gender == 1 && Age == 18)'' | ||
'''Availability''' | '''Availability''' |
Latest revision as of 10:37, 20 December 2011
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