>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  BUILD_ARR_STRUCT

BUILD_ARR_STRUCT

BUILD_ARR_STRUCT

Name


      BUILD_ARR_STRUCT

Purpose


      Build a structure from arrays of tags and values.

Category


Calling Sequence


      s = build_arr_struct( tags, vals)

Inputs


      tags = string array with structure tag names. in
      vals = array with values. in

Keyword Parameters


Keywords


        NAME=name Name if a named structure, else anonymous.

Outputs


      s = returned structure. out

Common Blocks


Notes


      Note: All structure values must be of the same type
        since they are given using an array. For the more
        general case use the builtin create_struct function.

Modification History


      R. Sterner, 2002 Mar 05
      R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
  Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us