? (calculate conditional expression)
Syntax:
?(<Logical expression>, <Expression 1>,
<Expression 2>)
Parameters:
<Logical expression>
A logical
expression that is calculated, and depending on the result
of this calculation, one of the result expressions is
calculated. If the first calculation result is True,
<Expression 1> is calculated. If the first calculation
result is False,
<Expression 2> is calculated.
<Expression 1>
A result expression that is calculated if the first calculation
result is True.
<Expression 2>
A result expression that is calculated if the first
calculation result is False.
Return value:
Calculation result for one of the result expressions.
Description:
Calculates one of the two specified expressions depending on the
logical expression result.