PML Customisation User Guide

Variables, Objects, Functions and Methods : Methods on User-Defined Object Types
Note:
Within a method, !This represents the object which invoked the method and !This.Answer is the way to refer to member Answer of this object.
Defines a method with no arguments but the same name as the type of the object is called the default constructor method. If the default constructor method is present, PML will call it automatically to initialise the object whenever an object of that type is created.
A method may return a result in just the same way as a PML Function using the return command. Set a member of the object using !This.membername.

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