The STRARR function returns a string array containing zero-length strings.
Examples
To create S, a 20-element string vector, enter:
S = STRARR(20)
Syntax
Result = STRARR(D1,...)
Return Value
The result is a string array of the specified dimensions.
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 64 elements. If multiple arguments are specified, they must all be scalar expressions. Up to 64 dimensions can be specified.
Version History
|
Original |
Introduced |
| 9.3 |
Change maximum dimensions to 64 |
See Also
BOOLARR, BYTARR, COMPLEXARR, DBLARR, DCOMPLEXARR, FLTARR, INTARR, LON64ARR, LONARR, MAKE_ARRAY, UINTARR, ULON64ARR, ULONARR