User Guide
Additional setup 65
If a variable is redefined in its scope, a new value will be substituted after each
redefinition. Thus, the statement:
<DEF __NAME__= "NAME_1
"/>Now you will see the first
value: %__NAME__%.
<DEF __NAME__= " NAME _2"/>Now you will see the
second value: %__NAME__%.
will be output as:
Now you will see the first value: NAME_1.
Now you will see the second value: NAME_2.
A variable can have a macro as its value.
<DEF _var_name_ = "%_macro_name_%
"/>
In this case, the parser will first substitute a macro for a variable and then it will
replace the macro with its value in the current scope.
7.10.2.5. Language syntax
Special symbols
%
marks a macro. The macro should be between two symbols "%".
Example: %VIRUSNAME%
<
opening bracket of a tag.
Example: <FOR FILTERNAME == "KAVFilter1">
>
closing bracket of a tag.
Example: <FOR FILTERNAME == "KAVFilter1">
</
opening bracket of an end tag.
Example: </FOR>
/>
closing bracket of the end tag for a construct without a body.
Example: <DEF __NAME __= "NAME_1"/>
\
escape symbol. Instructs the parser to treat the following special
character as a plain one. Example: \%VIRUSNAME\%
==
equal sign: a coincidence in mask or value.
Example: <FOR FILTERNAME == "KAVFilter1">
Example: <FOR FILTERNAME == "KAVFilter*">










