Macros - {SYSTEM} Command Work Around

DocumentID: 653136
Revision Date: 29-Feb-96 8:29:21 PM

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

Problem

Solutions: A customer was using a macro that cursored to the end of a file and used the {SYSTEM}line~ command to evaluate the location of the cursor. A problem occurred if the document exceeded one page, which created a Soft Page Break code [Spg], and which caused the end of the text not to match the expected 'line' conditions in the {IF} statement. To work around the problem, the macro was edited to insert a temporary Paper Size/Type code that was 22+ inches long. This allowed the whole file to fit on the same page and the macro to work successfully.

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.