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

Home » Public Forums » archive » Pass-By-Reference question.
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: Pass-By-Reference question. [message #38575 is a reply to message #38510] Fri, 12 March 2004 13:57 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Thu, 11 Mar 2004 19:37:22 -0600, Craig Markwardt wrote:

>
> Mark Hadfield <m.hadfield@niwa.co.nz> writes:
>
>> Christopher Lee wrote:
> ...
>>> help, make_array(dimension=[2],value=0.0,double=1,_EXTRA={double:0 })
>>> <Expression> DOUBLE = Array[2]
>>> IDL> help, make_array(dimension=[2],value=0.0,double=0,_EXTRA={double:1 })
>>> <Expression> DOUBLE = Array[2]
>>
>> Nice work. These occur in 6.0 and 5.6, which are the only versions I have.
>>
>> It's a bug. Who's going to report it?
>
> It's not like I can pretend to know what's going on, as my previous
> post already evidenced. But, I can say that the above MAKE_ARRAY()
> behavior exists in IDL 5.5, 5.4, 5.2, 5.1, 5.0, and 4.0.1!!!

Haven't had time to play with this one, but I thought I'd point out
that _REF_EXTRA is a red-herring here: the same problem occurs with
regular _EXTRA. I suspect it has to do with the fact that built-in
IDL routines must explicitly process inherited keywords and manually
implement overriding, rather than some magical process by which they
are overridden. I elect O.P. to send in a bug report ;). You might
get a mug out it.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Compiling file with many functions: huge performance difference between IDL and IDLDE
Next Topic: checking if file is dos textfile or unix textfile ?

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

Current Time: Fri Oct 10 15:25:09 PDT 2025

Total time taken to generate the page: 1.03568 seconds