Arrays

The arrays are denoted with character "@", followed by a letter:

@r, array of real data
@i, array of imaginary data
@c, array of complex data. is @r and @i
@a, buffer A
@b, buffer B
@w, window buffer
@l, baseline buffer

Sub arrays are depicted by the array indicator followed by a range of data. For example, @c[1..4] are the first 4 elements of the real and of the imaginary array's, and @a[1] is the first element of buffer A.


SIZEOF - Get array length

RV - Reverse

SWAP2 - SWAP 2x2 bytes

SWAP4 - SWAP 4 bytes

I2F - Integer to Float

F2I - Float to Integer

C2RI - Complex to Real and Integer

Max - Returns the maximum value in an array

MAX ( <array> }

Returns the maximum value in array <array>
Example 1:

$value = max(@r)
Example 2:
$value = max(@i[44..99])

Min - Returns the minimum value in an array

Min ( <array> }

Returns the minimum value in array <array>