Content-type: text/html Ifdef Tag

Home
WebGroove is no longer supported. These docs are reference only.


Ifdef Tag
Instructs the Compiler to interpret the surrounded lines only if one or more of the specified tokens has been defined. If you specify more than one token, only one of them must have a value for the block to compile.

Example
<ifdef %DOS% %WINDOWS% %NT%>
<include win32.wg>
</ifdef>


Syntax
Tag pair only, must include one or more token names to evaluate.

Don't Get Confused!
The ifdef tag is only used by the Compiler to decide if a piece of code should be included in the output file. Don't confuse this simple compiler directive with the if tag set used by the Agent to make run-time decisions in a script.

See Also
Define Tag
Ifnot Tag
Replace Tag
Undef Tag

Up To
Compiler Tags
Complete Tag Reference


WebGroove® is a registered trademark of Creativision Publishing Corporation