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

Home » Public Forums » archive » the type parser
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
the type parser [message #44075] Sun, 15 May 2005 02:27 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dear all

I am searching for the function which tells idl what kind of type a variable
gets by it's assignment. e.g.


IDL> a=1
IDL> help,a
A INT = 1

IDL> a=50000
IDL> help,a
A LONG = 50000

IDL> a=1.
IDL> help,a
A FLOAT = 1.00000

Any ideas otherwise I will write such a parser. To duplicate one is always
bad.

cheers
Reimar

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Input from 10 button Joy Stick
Next Topic: Re: IDL error message

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

Current Time: Wed Oct 08 19:15:48 PDT 2025

Total time taken to generate the page: 0.00490 seconds