Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetVar - method of object PmExpr

Description:
Adds one variable into the object.
Syntax:
SetVar(Name As Variant, Value As Variant)
Calling:
PmExpr.SetVar(Name, Value)
Parameters:
Name(Variant) Name of added variable (case sensitive text)
Value(Variant) Value of added variable
Note:
The method can also be called in the graphic item events for Web panels.
 
This method adds one variable in the form of "name and value" into the PmExpr object. The method can be called multiple times over the same object - thus adding multiple variables into this object.

The names of added variables can then be used in the expression that is inserted into this object by the SetExpr method. The Eval method then evaluates the expression by filling in the value of the variable in the place of the variable name.

See also:
PROMOTIC 8.3.24 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