
Section 8. Processing and Math Instructions
Parameter
& Data Type
Enter
Dest
Variable or
Array
The variable in which to store the values from the source.
Reps
Constant
The number of elements in the destination array to fill.
Source
Array or
Expression
The name of the variable array or expression that is the source of the values
to move.
Reps
Constant
The number of repetitions for the measurement or instruction. If source reps
is less than destination reps, the remainder of destination is filled with that
last value of source.
Move Function Example
The example uses the Move function.
Move(x, 20, y, 20) 'move array y into array x
Move(x, 20, 0.0, 1) 'fill x with 0.0.
MovePrecise (PrecisionVariable, X)
The MovePrecise function allows you to move a high precision variable into
another input location.
Syntax
MovePrecise ( PrecisionVariable, X )
Remarks
In this function, the variable X is moved into the PrecisionVariable as a high
precision value. Every reference to the PrecisionVariable will cause a 32-bit
extension of its mantissa to be saved and used internally. A normal single
precision float has 24 bits of mantissa; therefore, this new precision is 56 bits.
PrecisionVariable The PrecisionVariable is the variable that will be affected by
the precision move.
X The X variable is the value that will be moved to the
PrecisionVariable. It may or may not be a high precision variable, depending
upon whether it has been declared as such in a previous AddPrecise or
MovePrecise instruction.
NOT
The NOT function is used to perform a logical negation on an expression.
Syntax
result = NOT expression
8-20
Kommentare zu diesen Handbüchern