PML Customisation User Guide

Variables, Objects, Functions and Methods : PML Functions and Methods : PML Procedures
Here you are using an output argument, !Result, to return the result rather than using a function return value.
The arguments to the !!Area procedure can be set as follows, and then the procedure invoked with the call command.
The ( ) parentheses after the name of a procedure or function must always be present — even for procedures that do not need arguments:
Although the call keyword is strictly speaking optional, its use is recommended with procedures.
Note:
As well as procedures, you can invoke a PML Function that has a return value using call, in which case the function result value is discarded.

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