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

RESPUT

RESPUT

Name


      RESPUT

Purpose


      Put values into a results file.

Category


Calling Sequence


      resput, [name, val]

Inputs


      name = string with name to use as tag. in
        May mix upper and lower case for better
        readability but readback is case
        insensitive. No white space allowed in name.
      val = variable to save. in
        Name and val are not needed if writing a comment.

Keyword Parameters


Keywords


        FD=fd Optional file descriptor. Allows multiple res
          files to be used at once.
        COMMENT=c give a string or string array to
          place in the results header as comments.
        /SCALAR means convert one element arrays to scalars.
        ERROR=e error code:
          0 = OK, data written.
          1 = File not changed.

Outputs


Common Blocks


      results_common

Notes


      Notes: one of the results file utilities.
        See also resopen, resget, rescom, resclose.
        Must use resopen to open the file for write before
        using resput. Also must use resclose to close file.

Modification History


      R. Sterner, 19 Jun, 1991
      R. Sterner, 13 Dec, 1992 --- increased the precision for
      floating and double scalars.
      R. Sterner, 1994 Mar 29 --- Made case sensitive for write.
      R. Sterner, 1994 May 16 --- Added /SCALAR keyword.
      R. Sterner, 1994 Jul 12 --- Added tag name check.
      R. Sterner, 2004 Sep 27 --- Added FD=fd to give file descriptor.
      R. Sterner, 2010 May 23 --- Converted arrays from () to [].
  Copyright (C) 1991, 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.



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