Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Prime AND statements & Otherwise statements

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>