Series of conditional values
You specify a series of conditional values by delimiting the entries with either spaces or commas.
The following examples are equivalent and mean a street type whose
value or standardized abbreviation is either RD
or AV
or PL
:
T = "RD", "AV", "PL"
T = "RD" "AV" "PL"
Numeric series can be represented in the same manner, except without quotation marks. Optionally, you can use the abbreviation equality operator =A= or the original value operator =T=, such as:
T =A= "RD", "AV", "PL"
T =T= "RD", "AV", "PL"
A series of values can be tested against a dictionary field in a similar fashion:
^ | T | [ {StreetName} = "MAIN", "ELM", "COLLEGE" ]
The following pattern tests country code (specified as CC
) to determine the processing to be used:
; Armenia, Azerbaijan, China, Georgia, Russia, Tajikstan
;
[ {CC}="ARM" ,"AZE" ,"CHN" ,"GEO" ,"RUS" ,"TJK" ]
CALL Area_Format_B
In the case where you are testing the dictionary field value instead of a normal pattern operand, the test must follow all pattern operands including end-of-field.
^ | ? | T | $ | [ {StreetName} = "MAIN", "ELM", "COLLEGE" ]
The test [ {StreetName} = "MAIN", "ELM", "COLLEGE" ]
follows
all pattern operands, including the end of field specifier ($).