Constructor Methods with Arguments
- Last UpdatedOct 21, 2022
- 1 minute read
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)