Addition (+) - operator of language VBScript

Used to sum two numbers.
result = expression1 + expression2
Although you can also use the + operator to concatenate two character strings, you should use the Concatenation (&) operator for concatenation to eliminate ambiguity and provide self-documenting script. When you use the + operator, you may not be able to determine whether addition or string concatenation will occur. The underlying type of the expressions determines the behavior of the + operator in the following way:
- if both expressions are numeric, then addition.
- if both expressions are strings, then Concatenate.
- if one expression is numeric and the other is a string, then Add.
- if one or both expressions are Null, then result is Null.
- if both expressions are Empty, then result is an Integer type.
- if only one expression is Empty, then the other expression is returned unchanged as result.
PROMOTIC 8.3.21 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