To translate a Quattro Pro macro command to PerfectScript syntax,
1 Remove the opening brace of the Quattro Pro macro command and place it just after command name. For example, change {BlockCopy A1..A20,C10} to BlockCopy{A1..A20,C10}.
For commands without arguments, move the opening brace to just before the closing brace. For example, change {DOWN} to DOWN{}.
2 Replace the braces with parentheses. For example, change DOWN{} to DOWN() and BlockCopy{A1..A20,C10} to BlockCopy(A1..A20,C10).
3 Change any periods in the command name to underscores. For example, change Print.Block(A1..A20) to Print_Block(A1..A20).
4 Change commas that separate arguments to semicolons.
5 If an argument is calculated using a formula, enclose the formula in an Eval() statement. For example, change BlockFill_Start(+A20*0.25) to BlockFill_Start(Eval("+A20*0.25")). Eval() works only in PerfectScript macros.
Tips
¿ Now you can copy these commands into the application you are using to edit PerfectScript macros, such as WordPerfect.
¿ When you convert Quattro Pro macros to PerfectScript macros, the following Quattro Pro macro commands must be replaced by the corresponding PerfectScript commands:
Quattro Pro PerfectScript
{ABS} AbsoluteReference()
{ASSIGN} AssignValue()
Related topics
PerfectScript Macro Commands
When you use the Quattro Pro commands in PerfectScript, you need to use slightly different syntax than in Quattro Pro. You can translate Quattro Pro commands to PerfectScript syntax. Or, you can record a macro as a PerfectScript macro, then access a list of PerfectScript commands to edit the macro.
To translate a Quattro Pro macro command to PerfectScript syntax
To record a PerfectScript macro
To edit a PerfectScript macro by selecting commands from a list