Sie sind auf Seite 1von 1

Variables, Objects, Functions and Methods

Page 1 of 1

Software Customisation Guide


Variables, Objects, Functions and Methods

Variables, Objects, Functions and Methods


PML Variables
Variables are used to store values. Variables have names. The value that is stored can be changed but the name
is fixed. The user chooses the names and decides what is stored by each variable.
The variables used in PML 2 are objects:

Every object (variable) has a unique name.

An object has a set of functions associated with it, which can be called to manipulate this data. These
functions are called methods.

Some methods change the data held by the object, some return a result derived from the data, and some
methods do both.

The data that an object can hold and the functions that are available are fixed by the object type (sometimes
called the objects class).

Before the user can create an object, the object type must have been defined. The object type definition
specifies what the members and methods are for that type of object.

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

http://help.aveva.com/AVEVA_Everything3D/1.1.0.25/SOFTCG/SOFTCG3.03.01.html

6/13/2016

Das könnte Ihnen auch gefallen