Top Navigational Bar

Merge - Spaces Not Allowed To Indent Codes
DocumentID: 605315
Revision Date: 29-Feb-96 1:31:24 PM

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

Problem

Symptoms: A {CASE} statement within a merge will not function properly if spaces are used to indent the parameters. For example:
{CASE}{VARIABLE}x~~
1~one~
2~two~~ Solutions: This doesn't work because the spaces before the 1 and 2 are treated as characters. With a leading space before the case parameters, the variable would need to be changed to {VARIABLE} x~ (note the space before the x). Then, the value of the variable would need to be a space 1 ( 1) or
space 2 ( 2) to match one of the case parameters. However, this would not work either because the {CHAR} command (which is used in conjunction with the {CASE} statement) only accepts one character, not two. The customer should use tabs to indent the merge codes instead of spaces.

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.