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.

RemoveFilter: Difference between revisions

From Catglobe Wiki
jrfconvert import
Cg van (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:Data_Cache_Functions]]

{{HelpFiles}}


====removeFilter====
====removeFilter====
Line 19: Line 19:


'''Examples'''
'''Examples'''
''addFilter("Sex == 1"); ''
''addFilter("Age == 18"); ''
''string a = dcGetFilterExpression(); ''
''print(a); //(Sex == 1) && (Age == 18) ''


''removeFilter(1); ''
''removeFilter(1); ''
''a = dcGetFilterExpression(); ''
''print(a); //(Age == 18) ''


'''Availability'''
'''Availability'''

Latest revision as of 09:21, 20 December 2011



removeFilter

Remove a filter expression from filter expression list.

Syntax

removeFilter(filterIndex)

Arguments

filterIndex: Is a numeric (non-decimal) expression.

Return type

empty

Examples

addFilter("Sex == 1");

addFilter("Age == 18");

string a = dcGetFilterExpression();

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

removeFilter(1);

a = dcGetFilterExpression();

print(a); //(Age == 18)

Availability

Version 5.4