PML Customisation
User Guide
Variables, Objects, Functions and Methods
:
Methods on User-Defined Object Types
: Invoking a Method from Another Method
Invoking a Method from Another Method
Within a method
!This.Methodname()
refers to another method on the same object. So our second
LIFE
constructor method, the one with an argument, could be defined as:
define method .Life(!Value IS REAL)
!This.Answer(!Value)
endmethod
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.