Top Navigational Bar

Macro Compiler Doesn't See SmartQuote Marks A
DocumentID: 627529
Revision Date: 29-Feb-96 1:42:17 PM

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

Problem

Symptoms: The Macro Compiler does not recognize the SmartQuote marks as macro string delimiters (WordPerfect Character Set 4, characters 4,27 - 4,32). When SmartQuotes is turned on and the user records a macro, if the macro commands include quotation marks, the Macro Compiler will not be able to recognize the command correctly because the quotes used will come from SmartQuotes. For example, if the following command is used in a macro while SmartQuotes is turned on, an error message will result:
      Type("WordPerfect")
The first quote around the word WordPerfect is character 4,31 and the second is 4,32. The macro returns the error message "Variable Not Assigned A Value "WordPerfect" when the macro is run. Solutions: The Macro Compiler interprets the Type("WordPerfect") command as wanting to type the contents of a variable named "WordPerfect"; the quotes are part of the variable name. (The error occurs because the variable "WordPerfect" does not exist.)

To correct the situation, make sure that SmartQuotes is turned off before creating a macro. When using the "regular" quotation marks from the keyboard (Shift+"), the above problem will not occur.

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.