PML Customisation User Guide

Macros : Using Macros and Functions Together
The existing mechanism for invoking a macro using $M continues to be available alongside the new PML Functions. Most PML code in existing macros should continue to work unmodified.
To call a macro, even from within a PML Function, use the $M command. Variables used as arguments to a macro must be STRING values. PML Variables must be converted to a STRING with a preceding $:
$M filename $!X $!Y $!Z

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo