![]() |
Macros - Using {IF} Command Instead Of {WHILE |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: A customer was using a {WHILE} command in their macro with a {SYSTEM}left~ command to find spaces at the end of a line (e.g. {WHILE}"{SYSTEM}left~"=" "~). This macro worked until it encountered quotation marks ("). At that point it would exit the macro. Their problem was corrected by assigning a label and using the {IF} command to create a loop instead of using the {WHILE} command. |
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. |