LPL Reference
The Reference
24-16 Using the LI-6400
24
The Reference
+ Add values, arrays, or combinations of the two
Initial / Final: (see Two Value Transforms on page 24-13)
- Subtract values, arrays, or combinations of the two
Initial / Final: (see Two Value Transforms on page 24-13)
* Multiply values, arrays, or combinations of the two
Initial / Final: (see Two Value Transforms on page 24-13)
/ Divide values, arrays, or combinations
Initial / Final: (see Two Value Transforms on page 24-13)
^ Raise to a power
Initial / Final: (see Two Value Transforms on page 24-13)
= The assignment operator
Initial: Num x, NAddr target
Final: -
-or-
Initial: Addr x, Addr target
Final: -
The assignment operator is used for numerics, strings, and pointers.
==
Logical compare
Initial / Final: (see Two Value Logical Transforms on page 24-15)
Do not use this operator to compare arrays (use COMPARE for that).
<>
Logical negative compare
Initial / Final: (see Two Value Logical Transforms on page 24-15)
Table 24-5. Examples using the assignment operator =
LPL Code Description
5.3 &x = Sets variable x to 5.3
arrX arrY = Sets array Y to be equal to array X: The READY
value for Y is set to that for X, and elements
1ÉREADY of Y are set to those for X.
100 arrY = Sets elements 1ÉREADY of array Y to 100.
&x &yPtr = (yPtr is a PTR). yPtr now points at object x.