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

Home » Public Forums » archive » IDL 8.0 compile_opt changes
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: IDL 8.0 compile_opt changes [message #69339 is a reply to message #69187] Tue, 05 January 2010 06:57 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Jan 5, 9:09 am, Reimar Bauer <R.Ba...@fz-juelich.de> wrote:
> Reimar Bauer schrieb:
>
>
>
>> Chris Torrence schrieb:
>>> Hi all,
>
>>> I'm writing to you to ask your opinion on some potential changes in
>>> IDL 8.0. We have made some enhancements to the language to support the
>>> new graphics functions, and to make IDL simpler to learn, especially
>>> for new users.
>
>> Hi Chris
>
>> Happy new year to you and ittvis. Thanks for asking us.
>
>>> The primary change is the use of the dot "." for object method calls.
>>> The use of the "." for method calls is now industry standard, for
>>> example in languages such as Java, Python, etc. For example, in IDL
>>> 8.0, the following code will create a plot, and retrieve the first
>>> child object:
>
>>>    p = PLOT(x,y)
>>>    child = p.Get(index)
>
>> I support this change. I felt always the attempt of doing OO in idl is
>> extremly uncomfortable and ugly compared to python.
>> I think this change is important for new users or old users using OO in
>> different languages.
>
> if I see this right I can't have a var plot or do we have now case
> sensitives vars too?
>
> That is only a minor issue in comparison that I am quite sure the icg
> idl plotlib becomes broken by removing the old direct graphics methods
> anyway.
>
> e.g.http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source /idl_work/fr_...http://www.fz-juelich.de/icg/icg-1/idl_icgli b/idl_source/idl_html/gif...
>
> orhttp://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/i dl_work/rb_...http://www.fz-juelich.de/icg/icg-1/idl_icglib/ idl_source/idl_html/gif...
>
> Almost all of our publications are based on that library.
>
> Reimar


Hi Reimar - as of now I believe there's no conflict
between structures and functions.

You can have a structure called

sqrt={a:1,b:2}

and the function sqrt() will still work,
for instance the following slightly
obfuscated command works well:

IDL> print,sqrt(sqrt.b)
1.41421

So why do you expect a conflict in the new version
between your structure "plot" and a function plot()
that returns an object?

Ciao,
Paolo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: envi_title_bar.ico missing and null pointer dereferenced error when using .sav file in ENVI
Next Topic: A routine to annotate PS files

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

Current Time: Thu Oct 09 07:18:18 PDT 2025

Total time taken to generate the page: 0.47393 seconds