Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! 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