Top Navigational Bar

{RETURN} Command - Nested Macro Not Returning
DocumentID: 653531
Revision Date: 29-Feb-96 8:29:24 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: The customer had a {CASE CALL} command in a nested macro. A {RETURN} command at the end of the nested macro would return her to the {CASE CALL} instead of the original macro. She was able to work around this by putting an {ON CANCEL}{RETURN}~ command prior to the {CASE CALL} command (in the nested macro), and then putting a {RETURN CANCEL} command (instead of a {RETURN} command) at the end of the nested macro. The {RETURN CANCEL} command created a "cancel" situation within the macro, and thence, followed the "return" syntax created by the {ON CANCEL} command prior to the {CASE CALL}. This solved the customer's problem.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.