TO_DATATYPE Name
TO_DATATYPE Purpose
Convert arg to specified data type.
Category
Calling Sequence
out = to_datatype(in, typ) Inputs
in = Input item to be converted. in
typ = Data type code as given by the size function. in
Keyword Parameters
Outputs
out = Returned item. out
Common Blocks
Notes
Note: The Numeric type codes are: 1=Byte, 2=Int, 3=Long,
4=Float, 5=Double, 6=Complex, 7=String, 9=DComplex,
12=UInt, 13=ULong, 14=Long64, 15=ULong64.
Any other type codes are ignored and the input is returned.
Modification History
R. Sterner, 2006 Sep 06
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.