as there can be a danger that both conditions a and b could be true, which means you end up getting result y even though you really wanted x.
IMO, this is another example where Prime is better than MC15. In MC15 the "otherwise" is attached to the preceding "if". The first "if" is completely independent. Prime changes "otherwise" to "else" (a change not liked by some because it's more like a programming language and less like math notation, but I can live with it), and adds "else if" and "also if", so we can have much more versatile, and better structured, conditional statements.
Stuart, thanks for the suggestion. I don't do a lot of programming in Mathcad.
Richard, I don't think this statement is accurate:
In MC15 the "otherwise" is attached to the preceding "if". The first "if" is completely independent.
From Mathcad Help:
"If you use more than one if statement before an otherwise statement, the otherwise statement is executed only when all previous conditions are false."
Translate
Windchill Satisfaction Survey
Help shape the future of Windchill. Take our 5-minute survey and share your feedback.