Top Navigational Bar

Advanced Merge - {IF} Statement Is Case Sensi
DocumentID: 653075
Revision Date: 29-Feb-96 8:29:20 PM

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

Problem

Solutions: The {IF} statement used in Advanced Merge is case sensitive. For example, the macro statement {IF}"{VARIABLE}9~"="ALL"~{NEST}infob~{END IF}
(as opposed to {IF}"{VARIABLE}9~"="all"~{NEST}infob~{END IF}) would find occurrences of the word all when it appeared in caps.

The reason for this is found on page 839 of the WordPerfect 5.1 Manual (the italic footnote). It says, "In a string comparison, the WordPerfect Character set values are compared." Since the characters in the word ALL have different character set values than the characters found in the word all, the IF comparison can tell the difference between the two words.

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.