Skip to main content
8-Gravel
April 3, 2020
Solved

Program not working after conversion to Prime

  • April 3, 2020
  • 4 replies
  • 2171 views

After conversion to Prime 6.0, my simple program equation is not working but it is still calculate in MathCAD 15. Dont see any problem with the equations.

 

Please help

 

David

Best answer by DJF

Try this.  Add the return in the program, and I think another programming double-bar on the left.

 

then retype the min statement, select min from the functions as it seems to get confused on which min you want (since it means different things, e.g. a unit)2020-04-03_13-33-01.jpg

4 replies

23-Emerald I
April 3, 2020

Had to rework a bit to use Express, found some "divide by zero" faults.

8-Gravel
April 3, 2020

Hi Fred,

 

You are absolutely correct, answer came out to be zero without the double bar suggested by DJF.

 

Thanks 

 

Regards

David

DJF16-PearlAnswer
16-Pearl
April 3, 2020

Try this.  Add the return in the program, and I think another programming double-bar on the left.

 

then retype the min statement, select min from the functions as it seems to get confused on which min you want (since it means different things, e.g. a unit)2020-04-03_13-33-01.jpg

8-Gravel
April 3, 2020

Hi DFJ,

 

Thanks. You absolutely naid it. Once the double bar and return included in the logic the program return the value.

 

Kudos to you!!

 

David