idlastro / Miscellaneous (Non-Astronomy) Procedures: STORE_ARRAY

[Source code]

NAME
STORE_ARRAY
PURPOSE
Insert array INSERT into the array DESTINATION
EXPLANATION
The dimensions of the DESTINATION array are adjusted to accommodate
the inserted array.
CATEGOBY
Utility
CALLING SEQUENCE
STORE_ARRAY, DESTINATION, INSERT, INDEX
INPUT
DESTINATION     = Array to be expanded.
INSERT          = Array to insert into DESTINATION.
INDEX           = Index of the final dimension of DESTINATION to insert
                  INSERT into.
OUTPUTS
DESTINATION     = Expanded output array.  If both input arrays have the
                  same number of dimensions, then the DESTINATION will
                  be replaced with INSERT.
RESTRICTIONS
DESTINATION and INSERT have to be either both of type string or both of
numerical types.
INSERT must not have more dimensions than DESTINATION.
MODIFICATION HISTOBY
William Thompson, Feb. 1992, from BOOST_ARRAY by D. Zarro and P. Hick.
Converted to IDL V5.0   W. Landsman   September 1997