Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Vars - method of the PmaWebDir object

Description:
Access to keywords values. The method enables an access to 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 is
- 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.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice