1491 |
special usage is recognized by GNU @code{m4}, so that in this case, the |
special usage is recognized by GNU @code{m4}, so that in this case, the |
1492 |
warning about missing arguments is never triggered. |
warning about missing arguments is never triggered. |
1493 |
|
|
1494 |
|
@example |
1495 |
|
ifelse(`some comments') |
1496 |
|
@result{} |
1497 |
|
ifelse(`foo', `bar') |
1498 |
|
@error{}m4: input.m4: 2: Warning: ifelse: too few arguments: 2 < 3 |
1499 |
|
@result{} |
1500 |
|
@end example |
1501 |
|
|
1502 |
If called with three or four arguments, @code{ifelse} expands into |
If called with three or four arguments, @code{ifelse} expands into |
1503 |
@var{equal}, if @var{string-1} and @var{string-2} are equal (character |
@var{equal}, if @var{string-1} and @var{string-2} are equal (character |
1504 |
for character), otherwise it expands to @var{not-equal}. |
for character), otherwise it expands to @var{not-equal}. |