PML Customisation
User Guide
Variables, Objects, Functions and Methods
:
Creating Variables (Objects)
: Using the Member Values of an Object
Using the Member Values of an Object
The way to set individual members of an object is to use the dot notation as follows:
!NewPlant = object FACTORY()
!NewPlant.Name = ProcessA
!NewPlant.Workers = 451
!NewPlant.Output = 2001
The dot notation is used in a similar way to access the value of a member of an object:
!People = !NewPlant.Workers
sets the variable
!People
to 451.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.