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






      Update selected tags in a control/defaults file.


Calling Sequence

      putfile_tags, file, tags


      file = name of control/defaults file. in
        May also be a text array as if from file.
      tags = structure with tags to update. in

Keyword Parameters


        ERROR=err Error flag: 0=ok.
        /ADD add any tags new to the file (else ignore).


Common Blocks


      Notes: Only updates tags found in the tags structure
        with the values found there. If a tag in the given
        structure does not occur in the file it is ignored
        by default. Use /ADD to add them to the end of
        the file. Any other text in the file is not changed.
        If the file does not exist it will be created. Make
        sure to use /ADD to add tags to the new file.
        See getfile_tags for reading tags from a text file.

Modification History

      R. Sterner, 2006 Apr 14
      R. Sterner, 2006 Apr 17 --- Modified to create file if not there.
      R. Sterner, 2006 Jun 19 --- Added note pointing to getfile_tags.
  Copyright (C) 2006, 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