Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if statements text

Status
Not open for further replies.

zsmith

Structural
Aug 25, 2003
6
0
0
US
Curious, there is the "if statement and if function" options, but can you have MathCAD output text messages from an if statement much like Excel does?
eg If x > 1 then design is sufficient
x < 1 then design is deficient
 
Replies continue below

Recommended for you

Depending on which version you have; in V11 and at least a couple of older versions, you can do this:

if(x>1,&quot;Great!&quot;,&quot;Bummer!&quot;)

TTFN
 
Thanks gentleman, but i dont see how it gives the output its more like a definition. I would like to hide the actual &quot;if statement&quot; and only have the conclusion.
 
One way to hide the statements is:
- Go to &quot;Insert&quot;/&quot;Area&quot;
- Write inside the if statements.
- Double click in one of the the arrow to hide the text and statements.
 
Status
Not open for further replies.
Back
Top