Software Customisation Guide

Variables, Objects, Functions and Methods : Methods on User-Defined Object Types
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.
Warning: When the user creates a new object type, or change an existing definition, the user must load the definition by giving the command:

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