Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. 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