Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Is there a way to have a program return a message but then continue executing? For example, in the attached program I want it to print the message "The ball does not reach the basket" but continuing executing rather than stopping, as happens with "return".
Solved! Go to Solution.
John Rudnicki wrote:
Is there a way to have a program return a message but then continue executing? For example, in the attached program I want it to print the message "The ball does not reach the basket" but continuing executing rather than stopping, as happens with "return".
Use the 'on error' programming construct. See help or attached (Mathcad 11 .mcd worksheet)
Stuart
John Rudnicki wrote:
Is there a way to have a program return a message but then continue executing? For example, in the attached program I want it to print the message "The ball does not reach the basket" but continuing executing rather than stopping, as happens with "return".
Use the 'on error' programming construct. See help or attached (Mathcad 11 .mcd worksheet)
Stuart
Thanks. jwr