cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Why If .. Else if ... Else not running

RWickrama
10-Marble

Why If .. Else if ... Else not running

My simple program is not running. Any comments, pl.

ACCEPTED SOLUTION

Accepted Solutions

needs 2 minor tweaks,

1. change the final evaluation from symbolic (->) to numeric (=)

2.remove the recursive use of the variable name at the end,

Regards

Andy

View solution in original post

9 REPLIES 9

Unfortunately my Mathcad Prime is not currently working, but I have reproduced the program in Mathcad. You can try and convert into rime and see if it yields the correct results.

Mike

Clipboard01.jpg

Screen shot attached.

Mike

Mike Armstrong wrote:

Unfortunately my Mathcad Prime is not currently working...

Mike,

Сonverted worksheet for Prime 2.0 in the attachment.

Pic_1.png

Cheers Vladimir, did it convert without error?

Mike

Just change this: "The operator otherwise converted into an equivalent expression with the operator if".

I have to say that I like the old way of programming. I believe it looks much neater and can be achieved on less lines.

MIke

needs 2 minor tweaks,

1. change the final evaluation from symbolic (->) to numeric (=)

2.remove the recursive use of the variable name at the end,

Regards

Andy

You solved my problem. Thanks a lot.

Thank you for your reply: your Mathcad R15 file is working exactly the way I want. Great help.

Announcements

Top Tags