![]() |
Macros - Entering {ON ERROR} To Avoid Locking |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: As explained in Appendix K of the WordPerfect 5.1 manual, the {ON ERROR} command tells WordPerfect what to do if an error is detected in a macro or merge execution, or returned by WordPerfect or DOS, or if a {RETURN ERROR} command has been returned by a subroutine or nested macro or merge. If this command is inserted with an action, WP will ignore the error and continue with the macro (when possible). If the {ON ERROR} command is not present and the macro encounters an error, the macro will lock up. If a person does not want to give an action, but at the same time does not want the macro to lock, a solution is to insert an {ON ERROR} command and a ~ (tilde). This tells the macro to proceed and to ignore the error; it will allow the macro to continue on its way without locking the macro, and without receiving any action in case of an error. |
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. |