RemoveFilter-Filter functions

From Catglobe Wiki
Jump to: navigation, search



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("Gender == 1");

addFilter("Age == 18");

string a = dcGetFilterExpression();

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

removeFilter(1);

a = dcGetFilterExpression();

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

Availability

Version 5.4