![]() |
PAREN.WPM Macro In Sept. WP Magazine - Correc |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: The September issue of WordPerfect, The Magazine contains a PAREN.WPM macro that checks for a missing closing parenthesis (found in the Q & A section on page 15). As is, the macro will stop running if it encounters a quotation mark (") in the document; otherwise it seems to run correctly. The macro stops because the program checks each character using "character." If the quotation mark is the character, the program inserts three quotation marks (""") when checking. Whenever the program runs into """ it will cause a macro to end. Because the {KTON} command does not use a quotation mark in the string, the following changes to lines 6, 7, and 8 will correct the problem: 6. {WHILE}{KTON}{SYSTEM}18~~!=1549&{KTON}{SYSTEM}18~~!=40~ 7. {RIGHT} 8. {IF}{KTON}{SYSTEM}18~~=41~ |
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. |