BYTARR

The BYTARR function returns a byte vector or array.

Calling Sequence

Result = BYTARR( D 1 , ..., D n )

Arguments

D i

The dimensions of the result. The dimension parameters can be any scalar expression. Up to eight dimensions can be specified.

Keywords

NOZERO

Normally, BYTARR sets every element of the result to zero. If the NOZERO keyword is set, this zeroing is not performed (array elements contain random values) and BYTARR executes faster.

Example

To create B as a 3 by 3 by 5 byte array where each element is set to zero, enter:

B = BYTARR(3, 3, 5)

See Also

COMPLEXARR , DBLARR , FLTARR , INTARR , LONARR , MAKE_ARRAY , STRARR