More actions
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Data_Cache_Functions]] | [[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 09: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