Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

If Operator (Solver Foundation)

Solver Foundation 3.0

Returns the second or third argument, depending on whether the condition is true.

If[cond, arg1, arg2]
If[x > 0, y, z]

This operator returns the second argument if the cond condition is true; otherwise, it returns the third argument.

The second and third arguments must be compatible.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.