comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Data type detection
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Data type detection [message #31978] Wed, 04 September 2002 16:43 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
type = size(variable, /type)

see help on the SIZE function for the type codes.

-Rick


"Asti Bhatt" <astib@cc.usu.edu> wrote in message
news:9e922196.0209041532.42fa4483@posting.google.com...
> Hi,
>
> Greetings. I need to detect data type of particular variable in my
> program. i.e. something like - if datatype of x equals integer then
> ...
> I couldn't find anything for it. Does anybody know the way to do such
> thing ?
>
> Thank you,
> Asti
[Message index]
 
Read Message
Read Message
Previous Topic: Problem with IDL 5.5 on Red Hat 7.2
Next Topic: Re: Problem with IDL 5.5 on Red Hat 7.2

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:25:55 PDT 2025

Total time taken to generate the page: 0.00199 seconds