Difference between revisions of "RemoveFilter"
(jrfconvert import) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Data_Cache_Functions]] |
− | | + | {{HelpFiles}} |
− | + | ====removeFilter==== | |
− | + | Remove a filter expression from filter expression list. | |
'''Syntax''' | '''Syntax''' | ||
− | removeFilter('' | + | removeFilter(''filterIndex'') |
'''Arguments''' | '''Arguments''' | ||
− | '' | + | ''filterIndex'': Is a numeric (non-decimal) expression. |
'''Return type''' | '''Return type''' | ||
Line 20: | Line 20: | ||
'''Examples''' | '''Examples''' | ||
− | removeFilter(1);// | + | ''addFilter("Sex == 1"); '' |
+ | |||
+ | ''addFilter("Age == 18"); '' | ||
+ | |||
+ | ''string a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); //(Sex == 1) && (Age == 18) '' | ||
+ | |||
+ | ''removeFilter(1); '' | ||
+ | |||
+ | ''a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); //(Age == 18) '' | ||
'''Availability''' | '''Availability''' | ||
− | Version 5. | + | Version 5.4 |
__NOTOC__ | __NOTOC__ | ||
− | <!-- imported from file: | + | <!-- imported from file: 4249.htm--> |
Latest revision as of 10: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