Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DcSetFilterExpression: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
 
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