Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Pls. see attached file. On the last page is my question which is regarding passing a range variable defined by a for loop, into a previously defined function. I get an error message.
TIA,
Jason
Solved! Go to Solution.
See attached. Basically the error is thrown because you attempted to create a range 0,0..0 which is not allowed. Mathcad insists that the second value (the one after the comma) is greater than the first.
It can easily be fixed because the range in your routine I90 can be written simpler. See attached.
See attached. Basically the error is thrown because you attempted to create a range 0,0..0 which is not allowed. Mathcad insists that the second value (the one after the comma) is greater than the first.
It can easily be fixed because the range in your routine I90 can be written simpler. See attached.
Thanks. The error message was a bit cryptic.
Jason Cuadra wrote:
Thanks. The error message was a bit cryptic.
Agreed, especially as it is not traceable up to the point where the real error "happens".