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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Convert Mathcad 15 to Prime 2 break function

Durbal.Andrew.H
8-Gravel

Convert Mathcad 15 to Prime 2 break function

Hi,

Am converting some existing Mathcad 15 files to Mathcad Prime 2.0 but have come across an issue where by the "break" programming syntax does not work in the same way and I can not figure out a way to replicate the level of functionality required.

Any ideas from the community? Image and example file attached.

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

It's a poor program structure even inMC15, where it works! Better to program this as:

Break.PNG

Alan

View solution in original post

2 REPLIES 2

It's a poor program structure even inMC15, where it works! Better to program this as:

Break.PNG

Alan

The break is normally used to break out of for/while loops.

I fully agree with Alan's response. An alternative might be as shown in the attached.

Top Tags