STRUCT_AUTOCONVERT Name
STRUCT_AUTOCONVERT
Purpose
Convert a structure wih all string items to numeric.
Category
Calling Sequence
out = struct_autoconvert(in) Inputs
in = Structure with all string items. in
Keyword Parameters
Outputs
out = Converted structure with numeric out
strings converted to numeric values.
Common Blocks
Notes
Notes: Non-numeric items are kept as strings.
Integer items are returned as long ints.
Floating items are returned as double.
Modification History
R. Sterner, 2006 Sep 07
R. Sterner, 2007 Sep 25 --- Allow comments after numbers.
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.