>  Docs Center  >  Libraries  >  Beaumont  >  APPEND
Libraries

APPEND

APPEND

Purpose


  This function appends a second array to a first one. It's
  only real convenience is that it handles the case when the first
  array is undefined.

Inputs


  a: The first array. This need not be defined
  b: The second array, which must be defined

Outputs


  The concatenation of a and b

Examples


  a = [1,2,3]
  b = [4,5]
  print, append(a,b)
    [1,2,3,4,5]
  d = [6,7]
  print, append(not_defined, d)
    [6,7]

Modification History


  April 2010: Written by Chris Beaumont



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us