PML Customisation
User Guide
Variables, Objects, Functions and Methods
:
Methods on User-Defined Object Types
: Constructor Methods with Arguments
Constructor Methods with Arguments
When an object is created, it is possible to supply arguments that are passed by PML to a constructor method with matching arguments instead of the default constructor method:
!Marvin = object LIFE(40)
This would invoke a method:
define method .Life(!Value IS REAL)
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.