Skip to main content
10-Marble
September 17, 2013
Solved

Convert Mathcad 15 to Prime 2 break function

  • September 17, 2013
  • 2 replies
  • 2166 views

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.

Best answer by AlanStevens

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

Break.PNG

Alan

2 replies

19-Tanzanite
September 17, 2013

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

Break.PNG

Alan

23-Emerald IV
September 17, 2013

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.