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

M_GET

M_GET

Name


      M_GET

Purpose


      Get a value by tag name from a global area.

Category


Calling Sequence


      m_get tag, val

Inputs


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

Keyword Parameters


Keywords


        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.

Outputs


      val = Returned value. out
        Null string on error.

Common Blocks


      m_put_common

Notes


      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