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

Home » Public Forums » archive » Re: 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
Re: the type parser [message #44486 is a reply to message #44126] Wed, 15 June 2005 02:36 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dear all

just again a question on this


I have recognized that it is easier to do nothing

plot,['1.2','1.3','1.4'],['1.2','1.3','1.4']

I wonder a little bit about this but it seems to go right. By this the
routine who is called will set the type.


IDL> a='1.23'
IDL> print,a+0.1
1.33000

IDL> b='99.99'
IDL> print,b gt 100
0

What else should be checked?

cheers

Reimar



Reimar Bauer wrote:
> m_schellens@hotmail.com wrote:
>
>> IDL scans the strings.
>> Its not really difficult but due to the many ways constants can be
>> defined
>> in IDL it gets a little bit complicated.
>> Here is the relevant GDL
>> (http://sourceforge.net/projects/gnudatalanguage)
>> code (in antlr, http://www.antlr.org) wich is 100% compatible to IDL.
>> The assignment to _ttype sets the determined type.
>> If you translate this into IDL you got what you need.
>> HDH,
>> marc
>>
>>
>
> Thanks,
>
> cheers
> Reimar
>


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
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
Read Message
Read Message
Read Message
Previous Topic: launching many widgets at the same time
Next Topic: Locating IDL source code file

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

Current Time: Wed Oct 08 19:56:49 PDT 2025

Total time taken to generate the page: 0.00272 seconds