BOOLARR

The BOOLARR function creates a boolean vector or array with every element set to false (0).

Examples

To create B as a 3 by 3 by 5 boolean array, enter:

B = BOOLARR(3, 3, 5)
PRINT, B

Syntax

Result = BOOLARR( D1[, ..., D8] )

Return Value

This function returns a byte vector or array.

Arguments

Di

Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. Up to eight dimensions can be specified.

Keywords

None.

Version History

8.4

Introduced

See Also

BOOLEAN, BYTARR, COMPLEXARR, DBLARR, FLTARR, INTARR, LON64ARR, LONARR, MAKE_ARRAY, STRARR, UINTARR, ULON64ARR, ULONARR