PRO idltype, var, vartype, vartype_str ; Description: This module determines the IDL variable type code "vartype" for the variable ; "var". The module also returns a string "vartype_str" describing the variable ; type. ; ; Input Parameters: ; ; var - ANY TYPE - The variable for which the IDL variable type code is to be determined. ; ; Output Parameters: ; ; vartype - INTEGER - The IDL variable type code for the variable "var". ; vartype_str - STRING - The name of the IDL variable type for the variable "var". ; ; Author: Dan Bramich (dmb@ing.iac.es) ; ; History: ; ; 14/01/2009 - Module created (dmb) ;Determine the IDL variable type code for "var" ;Convert the IDL variable type code to a string describing the variable type