HP LaserJet IID - Storing Boolean Values In V

DocumentID: 633805
Revision Date: 29-Feb-96 3:03:25 PM

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

Problem

Solutions: Problem: A customer requested that the ability to store a "logical" value of true or false in a variable be added to the HP LaserJet IID in WordPerfect 4.2. Although it is not possible to handle a variable as "boolean" in WP 4.2, it is quite easy to do in WP 5.0 and WP 5.1. An integer variable can be used and tested for zero or non-zero values. For example, some printer drivers use an integer variable to indicate the PS font is currently selected. The integer variable "ps" can be used in conditional statements such as: IF (QUALITY)&&(ps) SENDLO(HS/2) ENDIF If the variable is non-zero (e.g., set to 1), its value is True in a boolean statement. The same can be done with the more powerful WP 5.1 macro language.

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.