BYTARR Function
Returns a byte vector or array.
enabled.
Usage
result = BYTARR(dim1 [, dim2, ... , dimn])
Input Parameters
dimi—The dimensions of the array. This may be any scalar expression, and can have up to eight dimensions specified.
Returned Value
result—A one-dimensional or multi-dimensional byte array.
Keywords
Nozero—Normally, BYTARR sets every element of the result to zero. If Nozero is nonzero, this zeroing is not performed, thereby causing BYTARR to execute faster.
Examples
a = BYTARR(5)
PRINT, a
; PV-WAVE prints: 0 0 0 0 0
b = BYTARR(2, 3, 5, 7)
INFO, b
; PV-WAVE prints: B BYTE = ARRAY(2, 3, 5, 7)
See Also
BINDGEN,
BYTE,
BYTEORDER,
BYTSCL,
DBLARR,
COMPLEXARR,
FLTARR,
I32ARR,
INTARR,
LONARR,
MAKE_ARRAY,
STRARR
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.