EMS Manual
Compiled Filters
EMS Manual—426909-005
5-30
Statements
FILTER f ( SSID(myssid, MY^TKN^1) );
FILTER g ( SSID(myssid, MY^TKN^2) OPTIONAL );
FILTER h ( SSID(myssid, MY^TKN^3) REQUIRED );
Example 2
This example shows a reference to the MY^TKN^3 parameter token:
IF MY^TKN^3 > 131 THEN PASS 1;
MY^TKN^3 is qualified by myssid in the declaration but is unqualified in the
comparison.
Statements
This subsection describes the filter language statements: the assignment, compound,
destination, IF, PASS, and FAIL statements.
Statements are terminated by a semicolon.
Note the placement of semicolons in these IF statements:
IF flag1 THEN
BEGIN
PASS 1;
END; -- End of first IF statement
IF flag2 THEN
BEGIN
PASS 2;
END -- No semicolon here
ELSE
BEGIN
PASS 3;
END; -- End of second IF statement
The second IF statement has no semicolon after the first compound statement
because the IF statement does not end there but is followed by an ELSE statement.
EMF is a free-format language. A single statement can be on one or more lines. Two or
more statements can be on one line.
Assignment Statements
The assignment statement stores the value of a Boolean expression in a declared
variable.
variable
is any variable that is declared in the filter.
variable := Boolean-expression