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






      Get a value by tag name from a global area.


Calling Sequence

      m_get tag, val


      tag = Tag name for value. in
        (spaces converted to _)

Keyword Parameters


        AREA=aname Name of area to use (def="DEFAULT").
          (spaces converted to _)
        DEFAULT=area Name of area to default to instead
          of "DEFAULT". Later calls to m_put, m_list, or
          m_get will use this default area instead of "DEFAULT".
          To clear back to the normal default, call with
          DEFAULT="DEFAULT". The default keyword will work on
          any of the m_* routines.
        ERROR=err Error flag: 0=ok.
        /QUIET inhibit error messages.


      val = Returned value. out
        Null string on error.

Common Blocks



      Notes: Use m_put to add items to the global area,
        m_list to list items in the global areas.
        m_fun is a function version of m_get.

Modification History

      R. Sterner, 2004 May 05
      R. Sterner, 2004 May 31 --- Returned null string on error.
      R. Sterner, 2006 Mar 20 --- Fixed for unknown area name.
  Copyright (C) 2004, 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