Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi everybody:
I have got a problem with MathCad. When I define a function without If statement, everything is fine. However, as you can see from attached MathCad file, with adding if statement in my function, an error appers that "this value must be scalar"
Any idea why this happens. I have attached the file.
Thank you
Solved! Go to Solution.
Hossein Gholizadeh wrote:
Hi everybody:I have got a problem with MathCad. When I define a function without If statement, everything is fine. However, as you can see from attached MathCad file, with adding if statement in my function, an error appers that "this value must be scalar"
Any idea why this happens. I have attached the file.
See image below
Stuart
Hossein Gholizadeh wrote:
Hi everybody:I have got a problem with MathCad. When I define a function without If statement, everything is fine. However, as you can see from attached MathCad file, with adding if statement in my function, an error appers that "this value must be scalar"
Any idea why this happens. I have attached the file.
See image below
Stuart
Thank you so much. It works now
Hossein Gholizadeh wrote:
Thank you so much. It works now
No problem.
Stuart