Displaying 1 result from an estimated 1 matches for "possibly_more_complicated_true_expr".
2005 Jun 05
0
Re: Bison, Flex, Conditional Expression
...may be accessed with $(foo <args>). A list
of these functional variables may be found by typing "show functions"
at the Asterisk CLI.
So, I guess you could say:
SetVAR(var=$(IF a=b?true:false))
or do I have to say:
SetVAR(var=$(IF $[a=b]?true:false))
or
SetVAR(var=$(IF $[a=b]?$[possibly_more_complicated_true_expr]:$[possibly_more_complicated_false_expr]))
[ between the two sets above, the second "feels" more realistic than the first, as the actual
evaluation of a=b most likely will have be done by the expression parser... if not, the expression
parser will no longer be necessary]
vs:
SetVAR(var...