![]() |
Hard Hyphen Converted To Dash When Assigned |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
PROBLEM: When a hard hyphen (Home,-) is assigned as part of a variable in a macro, it is converted to a regular hyphen ([-]) when the variable is used. This causes words in the variable not to be found in a search. Solutions: This happens normally as explained on page 954 of the manual. The left side of the table on page 954 (the "codes") refer to different codes that would appear in your document. There are only three codes in this table that remain the same when converted with the macro or variable. For example, if the macro runs across a "Tab," it will convert it to a "Tab" because it recognizes that particular code. But if the macro runs across a "Center" code, it will have to be converted to a "Tab" code because there is not one single key for the "Center" command on the keyboard. To create a "Center" command, you have to use function keys that are assigned through WordPerfect. That is the case with all of the other codes that are converted to something else. There is a specific key assigned to each one of the codes (e.g., Enter, Tab, Indent, HPg, space, and the dash (-)). |
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. |