cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Prime AND statements & Otherwise statements

NovaStark
3-Visitor

Prime AND statements & Otherwise statements

I've been using MathCAD 15 for some years now with no real issues however since I started using MathCAD Prime 3.0 I've been having trouble getting accustomed to the programming aspect.

Some functions that I've become accustomed to have seemingly disappeared or I can't locate them.

For example, I understand how to return some text if A > B.

What I want to do is return some text for A >B AND C < D and if those aren't satisfied, return some other text. In MCAD 15 I'd just type:

"Success" if A>B ^ C<D

"Failure" otherwise

"Success" if E>F ^ G<H

"Failure" otherwise

(^ is the boolean logic for AND)

But in the new Prime, I'm not too sure as I don't know how to account for the general otherwise statement.

Can anyone help me out here ?

4 REPLIES 4

Better - in Mathcad 15, Mathcad Prime and Mathcad Express:

Thanks,

It works now.

Didn't know that the second logic statement existed!

Thanks again.

Top Tags