Top Navigational Bar

Macro - {VARIABLE} Commands In A {CASE} State
DocumentID: 654187
Revision Date: 29-Feb-96 8:29:29 PM

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

Problem

Symptoms: The customer has two very large macros where the variables are not working in a {CASE} statement. When using {VARIABLE} commands in a {CASE} statement, the {CASE} statement does not refer control of the macro to the labels when a match occurs. For example, here is a sample of one of the {CASE} commands:
{CASE}{VARIABLE}a~~{VARIABLE}b~~dog~{VARIABLE}c~~cat~~ Solutions: This is a limitation of the {CASE} command. The work around would be to use {IF} commands instead.

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.