6.0

Table Of Contents
66
Language Reference
4
<= (operator)
See “LT (function)” on page 112.
= (operator)
See “Eq (function)” on page 89
:= (operator)
Assign a value to a variable. This provides a more convenient alternative to the set() command. Note that
spaces between the operator and its operands are optional.
Code Samples
&price := 18.53
&day[4] := ‘Friday’
&last:=True
&mustard := [0,20,90,16] )
<> (operator)
See “NE (function)” on page 117
Add (function)
Adds two numerical expressions. This is the functional equivalent to the + operator, when you use the +
operator with numerical expressions.
Syntax
add( expression, expression2 ) integer, measure, currency value
Arguments
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.
Code Sample Examples
Examples 1 and 2 show both ways of adding numbers.
Example 1
show(inttostr(2+2)) %Displays 4