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.
|