Top Navigational Bar

Changes To WP 6.0 Macros And Merge Programmin
DocumentID: 611007
Revision Date: 29-Feb-96 1:34:38 PM

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

Problem

Solutions: Development has changed three commands in the macro and merge programming languages and one product token in WP 6.0 for DOS.

For both merge and macros, they have renamed FOR to FORNEXT (it will still be paired with ENDFOR, just as FOREACH is), CASE to SWITCH and ENDCASE to ENDSWITCH (WP will stick with CASEOF for the individual cases within the SWITCH statement to avoid confusion with the CASE statement under Windows, and of course, DEFAULT will remain the same).

Also, because of the new SWITCH programming command, the macro token for switching documents, which was called Switch, is now called SwitchDoc.

Because of the way merge commands are encoded, this will not affect any existing merge documents. As soon as you get a version of WP with the new TRS file, your existing documents will display with the new names and will still merge properly.

Unfortunately, the same is not true for macros. You will have to change every FOR to FORNEXT, every CASE to SWITCH, every ENDCASE to ENDSWITCH, and every Switch to SwitchDoc. This is necessary because the macro commands are merely text, not function codes as is the case with Merge.

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.