Reference Guide > S Routines > STRARR Function
  

STRARR Function
Returns a string array.
Usage
result = STRARR(dim1, ... , dimn)
Input Parameters
dimi—The dimensions of the result. May be any scalar expression. Up to eight dimensions may be specified.
Returned Value
result—A string array.
Keywords
None.
Example
r = STRARR(2)
r(0) = 'one'
r(1) = 'two'
PRINT, r
; PV-WAVE prints: one   two
See Also
BYTARRCOMPLEXARRDBLARRFLTARRINTARR, LONARR, MAKE_ARRAY, SINDGEN, STRLEN

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.