5723 |
endif |
endif |
5724 |
@end example |
@end example |
5725 |
|
|
5726 |
|
or: |
5727 |
|
|
5728 |
|
@example |
5729 |
|
@var{conditional-directive} |
5730 |
|
@var{text-if-one-is-true} |
5731 |
|
else @var{conditional-directive} |
5732 |
|
@var{text-if-true} |
5733 |
|
else |
5734 |
|
@var{text-if-false} |
5735 |
|
endif |
5736 |
|
@end example |
5737 |
|
|
5738 |
@noindent |
@noindent |
5739 |
If the condition is true, @var{text-if-true} is used; otherwise, |
There can be as many ``@code{else} @var{conditional-directive}'' |
5740 |
@var{text-if-false} is used instead. The @var{text-if-false} can be any |
clauses as necessary. Once a given condition is true, |
5741 |
number of lines of text. |
@var{text-if-true} is used and no other clause is used; if no |
5742 |
|
condition is true then @var{text-if-false} is used. The |
5743 |
|
@var{text-if-true} and @var{text-if-false} can be any number of lines |
5744 |
|
of text. |
5745 |
|
|
5746 |
The syntax of the @var{conditional-directive} is the same whether the |
The syntax of the @var{conditional-directive} is the same whether the |
5747 |
conditional is simple or complex. There are four different directives that |
conditional is simple or complex; after an @code{else} or not. There |
5748 |
test different conditions. Here is a table of them: |
are four different directives that test different conditions. Here is |
5749 |
|
a table of them: |
5750 |
|
|
5751 |
@table @code |
@table @code |
5752 |
@item ifeq (@var{arg1}, @var{arg2}) |
@item ifeq (@var{arg1}, @var{arg2}) |