Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Matcad Pro if statement

Status
Not open for further replies.

YSINC

Structural
Mar 17, 2004
9
I am a new user and I am having trouble with an if statement:

determine:
if, v1<=v2 then, fb1
if, v2<v1<=V3 then, fb2
if, v1>v3 then, fb3

write:
the result for fbn=xxxxx
 
Replies continue below

Recommended for you

Thank you,
I figured it out. The help file in my software states do not type the "if" statement use the programing toolbar button. I did this and the "if" was preceeded by a placeholder, which was irremovable causing an error. Anyway, I finally decided to type the "if" and it worked fine. Thank you for the reply.
John
 
The programming toolbar "if" is a program control statement, whereas "if(,,) is a built-in function.

TTFN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor