![KAPERSKY ANTI-VIRUS 5.0 - FOR SENDMAIL WITH MILTER... Administrator'S Manual Download Page 51](http://html1.mh-extra.com/html/kapersky/anti-virus-5-0-for-sendmail-with-milter/anti-virus-5-0-for-sendmail-with-milter_administrators-manual_3447329051.webp)
Additional setup
51
These condition constructs are parsed sequentially.
Thus, iteration constructs are used to distinguish both the single and multiple
values of a macro.
For example, if the macro
%FILTERNAME%
has the values of
KAVFilter1
,
KAVFilter2
,
KAVFilter3
, and
SimpleFilter
, then
the construct:
<FOR
FILTERNAME == "KAVFilter1"
>
%FILTERNAME%
</FOR>
will produce the text:
KAVFilter1
the construct:
<FOR
FILTERNAME `= "KAVFilter?"
>
%FILTERNAME%,
</FOR>
will produce the text:
KAVFilter1, KAVFilter2, KAVFilter3
the construct:
<FOR
FILTERNAME
!= "KAVFilter2"
>
%FILTERNAME%,
</FOR>
will produce the text:
KAVFilter1, KAVFilter3, SimpleFilter
the construct:
<FOR
FILTERNAME
!= "KAV*"
>
%FILTERNAME%,
</FOR>
will produce the text:
SimpleFilter,
6.11.2.3. Scope of visibility for an iterative
statement
Any iteration construct can have sub-macros, whose values are defined within
the scope of visibility for the parent construct only. Iterative statements can be
used not only to output particular values of particular macros, but also to define
the scope of visibility of sub-macros.
The scope of visibility of a sub-macro is defined by the start and end tags of the
condition construct: