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

Convert Mathcad 15 to Prime 2 break function

Durbal.Andrew.H
6-Contributor

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

View solution in original post

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.

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."