Adds two numerical expressions. This is the functional equivalent to the + operator, when you use the + operator with numerical expressions.
add( expression, expression2 ) integer, measure, currency value
expression1, expression2
Integer, measure, or currency values. Both expressions must be the same type. The returned value is set according to the type of the parameters.
Examples 1 and 2 show both ways of adding numbers.
show(inttostr(2+2)) %Displays 4
show(floattostr(add(4.7,2.1))) %Displays 6.8