The designer is not forced to use these higher functions (it is even not recommended to use them) because only the basic knowledge of the language syntax is needed for application design (see JavaScript statements, The JavaScript operators, Data types JavaScript).
This way the language becomes very simple to use, even simpler than the VBScript language - see Comparison of the VBScript and JavaScript languages.
The JavaScript objects are listed below:
But the PROMOTIC system uses the String data type, which is a primitive data type, not an object.
For working with this type the Pm string methods can, for example, be used.
But the PROMOTIC system uses the primitive data types instead.
But the PROMOTIC system uses the primitive data types instead.
The PROMOTIC system stores date and time into the value of the Double type (it is a number of days since 30.12.1899 - the same way as Date data type of the VBScript language)
The Pm.CreatePmDateObject method can be used to transform the values of the Double type into a PmDateObject object. This object has its own methods for working with date and time (read and write hour, day, month, etc.).
See also: Pm date and time methods.
The PROMOTIC system uses the Array data type instead, that corresponds to the JavaScript language PmArray object.
Contrary to the JavaScript object, the PmArray object can be 1-dimensional or 2-dimensional and all the features of this object are adapted to the needs of the PROMOTIC system.
See also: How to use array of values in the PROMOTIC system.
The PROMOTIC system has its own mathematic methods, see Pm properties and methods mathematic and others.