![]() |
Enhancement Request - Searching For WP 5.0 Ju |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: Enhancement: A user requested that WordPerfect 5.1 include the capability to search for the justification codes such as [Just Off] that are created when retrieving a WordPerfect 5.0 document into WP 5.1. Answer: Although users cannot search for these codes directly, they can search for them with a WordPerfect 5.1 macro. The following macro will search from your cursor backwards through the document and stop at the first Just On or Just Off code it encounters: {STATUS PROMPT}~ {IF}!{STATE}&512~ {ASSIGN}rev~1~ {Reveal Codes} {ELSE} {ASSIGN}rev~0~ {END IF} {WHILE}"{SYSTEM}left~"!=""~ {IF}"{SYSTEM}left~"="33024"~ {PROMPT}[JustOn]~{PAUSE}{BREAK} {ELSE}{IF}"{SYSTEM}left~"="33280"~ {PROMPT}[JustOff]~{PAUSE}{BREAK} {ELSE} {Left} {END IF}{END IF} {END WHILE} {IF}{VARIABLE}rev~=1~ {Reveal Codes} {END IF} The macro below will allow users to replace the WP 5.0 code with the appropriate WP 5.1 code: {IF}!{STATE}&512~ {ASSIGN}rev~1~ {Reveal Codes} {ELSE} {ASSIGN}rev~0~ {END IF} {Home}{Home}{Down} {WHILE}"{SYSTEM}left~"!=""~ {IF}"{SYSTEM}left~"="33024"~ {Backspace}{Format}1JF{Exit}{Left} {ELSE}{IF}"{SYSTEM}left~"="33280"~ {Backspace}{Format}1JL{Exit}{Left} {ELSE} {Left} {END IF}{END IF} {END WHILE} {IF}{VARIABLE}rev~=1~ {Reveal Codes} {END IF} The following macro will delete any of the Just On or Just Off codes in the document: {IF}!{STATE}&512~ {ASSIGN}rev~1~ {Reveal Codes} {ELSE} {ASSIGN}rev~0~ {END IF} {Home}{Home}{Down} {WHILE}"{SYSTEM}left~"!=""~ {IF}"{SYSTEM}left~"="33024"|"{SYSTEM}left~"="33280"~ {Backspace}{Left} {ELSE} {Left} {END IF} {END WHILE} {IF}{VARIABLE}rev~=1~ {Reveal Codes} {END IF} |
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. |