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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

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

RWickrama
6-Contributor

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

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

1 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
MikeArmstrong
5-Regular Member
(To:RWickrama)

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

MikeArmstrong
5-Regular Member
(To:VladimirN)

Cheers Vladimir, did it convert without error?

Mike

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

MikeArmstrong
5-Regular Member
(To:VladimirN)

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.

RWickrama
6-Contributor
(To:RWickrama)

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

Top Tags