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 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
Dim oWebDir
Set oWebDir = pMe.Pm("/Web/Dir")
Dim value
value = oWebDir.Vars("key1").Value
' Reading the value
oWebDir.Vars("key1").Value = "abc"
' Writing the value