Appendix B

See Graphic

Upgrade Information





Upgrade Information

This chapter will help you upgrade your macros to function in Corel WordPerfect Suite. This section includes upgrade information about Corel PerfectScript, Corel WordPerfect, Corel Presentations, and Corel Quattro Pro. For details on any command listed below, refer to the corresponding Command Reference chapter.


Corel® PerfectScript™

This section describes changes to the PerfectScript macro language between the previous version and this version of Corel WordPerfect Suite. This section describes obsolete commands, modified commands, and new commands and features. For detailed information about each command, see the appropriate Reference section.

Overview

This is a quick overview of things you may need to do to your macros written in PerfectScript to make them work in this version of PerfectScript.

Obsolete Commands

This section describes commands of PerfectScript that are now obsolete. For backward compatibility, these commands will continue to function and be supported, but are no longer documented and may be removed in a future release of PerfectScript. You are encouraged to replace these commands with their functional equivalents as soon as possible.

Obsolete command Replace with
Assign ":=" or "="
Coach... commands Nothing. The functionality of these commands no longer exists.
DialogAddPopupButton DialogAddComboBox
RegionSetBitmapFilename RegionSetBitmap
Check! and Uncheck! of State parameter of RegionSetCheck Checked! and Unchecked!
Persist! of Pool parameter of Exists Persistent!

Modified Commands and Features

This section lists the commands and features of PerfectScript that have been modified in PerfectScript. The modifications to these commands were to add additional functionality, and all previous functionality has been preserved. These changes will not affect existing macros.

Commands That Now Support Named Parameters

The following commands have been changed to enable the passing of parameters by name.

Dialog Callbacks

More Windows messages are now passed through to dialog callback labels.

More notification codes are now passed through for the WM_COMMAND message.

Added Capabilities

New capabilities were added to the following commands. This includes new return values, new parameters and new enumerations. These changes will not affect existing macros.

New Commands and Features

This section describes the new commands and features of PerfectScript.

OLE Automation

PerfectScript is now an OLE Automation controller, and can send commands to OLE Automation servers.

Repeating Parameters

A macro array may now be passed in place of repeating parameter groups for those commands that have repeating parameters.

New Commands

The following commands are new and have been added for PerfectScript.


Corel® WordPerfect®

The product commands and system variables in Corel WordPerfect are essentially the same as those for the previous version. Backward compatibility was maintained except where certain operating system or product feature changes made it impossible.

Obsolete System Variables and Product Commands

Obsolete system variables and product commands are commands that are no longer part of Corel WordPerfect. They have usually been replaced by new commands that are more consistent with the new version of the program. In a few instances, partial functionality has been preserved in obsolete commands.

New System Variables and Product Commands


Corel® Presentations™

The product commands and system variables in Corel Presentations are essentially the same as those for the previous version of Corel Presentations. Backward compatibility was maintained except where certain operating system or product feature changes made it impossible.

Obsolete System Variables and Product Commands

Obsolete system variables and product commands are commands that are no longer part of Corel Presentations. They have usually been replaced by new commands that are more consistent with the new version of the program. In a few instances, partial functionality has been preserved in obsolete commands.

New System Variables and Product Commands


Corel® Quattro® Pro

Obsolete Commands

New Commands