Promotic

Vars - method of the PmaWebDir object

Description:
Access to keywords values. The method returns object of the PmVar type that represents one variable defined on the "Keywords" tab.
Syntax:
Object Vars(Variant id)
Parameters:
id(Variant) Specifies the variable. The value je:
- Name (String, case sensitive text, for example "d1") or
- Index (Long, zero-based index)
Note:
The PmVar object contains information about the variable (value, name, index, etc.).
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oWebDir = pMe.Pm("/Web/Dir");
var value = oWebDir.Vars("key1").Value;   // Reading the value
oWebDir.Vars("key1").Value = "abc";   // Writing the value
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.