PML Customisation User Guide

Variables, Objects, Functions and Methods : Creating Variables (Objects) : Creating a Variable with a Built-in Type
You can create variables of any of the built-in types (REAL, STRING, BOOLEAN or ARRAY), as in the following example, which creates a REAL variable and sets it value to 99:
The PML Variable !MyString and the constant ‘Hello World’ are both objects of type STRING. A STRING is a very simple object and the only data it contains is its text value. In this simple expression you are creating a new object, a variable of STRING type, by making a copy of the original object, the STRING constant ‘Hello World’.

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