![]() |
Macro Variables Assigned a Negative Number |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: Problem: Variables that are assigned a negative number are considered a 0 by WordPerfect. For example, assigning variable 1 the value of -1/2 in WP 5.1 gives the value of 0. This same assignment in WP 5.0, however, gives the value of -1/2. Answer from Development: The WP 5.1 expression evaluator is more powerful than the one in WP 5.0, and this is one situation where the user can see the difference. "-1/2" is a valid expression in integer arithmetic and the result is 0. However, WP 5.0 is not "smart" enough to recognize this as an expression, and thus it interprets this as a text string. |
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. |