Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I have a question regarding if statements. I am trying to program the following:
If x>y "and" x>z, then x=c.
Can anyone help me with this? I was thinking an "also if" statement would work, but I don't think I'm entering it right. Does "also if" only return the value if either expression is true?
Thanks in advance for any help!
Dustin
Solved! Go to Solution.
Ther is a boolean "and" operator that allows you to combine the two comparisons.
Correction, what I'm trying to do is
if c>y "and" c>x, then z=c.
Thanks!
Ther is a boolean "and" operator that allows you to combine the two comparisons.