blob: 8423bab44f08ffe2d0913957bc5f875172906efe [file] [log] [blame] [edit]
.. |directive operand| replace::
The directive that is to be conditionally processed.
It may contain spaces.
This operand is optional.
If it isn't supplied then this directive applies to all subsequent lines
until `The EndIf Directive`_ or `The Else Directive`_
that is at the same conditional nesting level.
The EndIf Directive
-------------------
.. parsed-literal:: endIf
Use this directive to terminate the current conditional nesting level.
Examples::
ifVar x
These lines will be processed if a variable named x exists.
endIf
The Else Directive
------------------
.. parsed-literal:: else
Use this directive to negate the test associated with the current conditional
nesting level.
Examples::
assign x some\svalue
ifVar x
These lines will be processed.
else
These lines won't be processed.
endIf