IDL 8.0 and compile_opt - Update [message #69949] |
Mon, 22 February 2010 10:45  |
PaulClaytonAdams
Messages: 1 Registered: February 2010
|
Junior Member |
|
|
Hello Everyone,
Back in December a question was asked here on this forum about
changing IDL’s default compile option to IDL2. The main reason to
perform this change was to allow IDL users to use the more modern "."
operator to invoke object method calls instead of the less standard "-
> ".
We would like to thank all of you who took the time to respond to this
question. As we examined the responses it became increasingly clear
that although setting a default compile option of IDL2 would solve the
problem, the resulting issues with backwards compatibility were too
great to ignore. As a result, we have redesigned this feature so that
it will be possible to use the "." syntax to invoke object methods
without the need to specify any compile options. This means that we
will not alter the default compile options for IDL 8.0; your current
code will run fine without the need for any changes. You can also use
the new “.” syntax anywhere in your code.
I hope that the original post on this subject did not cause too much
of a stir, but it was a great opportunity for us to solicit your
feedback and ultimately choose what we felt was the best option moving
forward.
Paul Adams
Software Engineer
ITTVIS
|
|
|
|
|
|
|
Re: IDL 8 [message #70412 is a reply to message #70328] |
Wed, 07 April 2010 07:43  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Cliff wrote:
> On Apr 5, 4:42 pm, mgalloy <mgal...@gmail.com> wrote:
>> On 4/3/10 10:32 AM, Cliff wrote:
>>
>>> I don't suppose you've ever managed to call a fortran function
>>> returning an allocatable array or know whether this is even possible?
>> I don't have experience using Fortran with IDL. By "allocatable" do you
>> mean, allocating the array in Fortran and passing it back to IDL?
>>
> Yes, that's exactly what I meant. I believe that allowing a subroutine
> to return an allocatable array is a new feature in FORTRANas well.
Yes. In addition to this capability being standard in Fortran2003 (not all caps anymore),
Fortran95 compilers that support the TR15581 extension (which is pretty much all current
ones) also allow this functionality.
cheers,
paulv
|
|
|