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

Home » Public Forums » archive » Re: 2-d histogram and Routines of same name
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: 2-d histogram and Routines of same name [message #70965 is a reply to message #70961] Tue, 18 May 2010 12:53 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On May 18, 1:48 pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> In article <hsrli1$s0...@speranza.aioe.org>,
>
>  mgalloy <mgal...@gmail.com> wrote:
>> It seems that PRODUCT is a built-in, not .pro code or in a DLM. So I
>> made my own PRODUCT routine, but couldn't get IDL to ever use it, even
>> if I manually compiled it. IDL always found the built-in PRODUCT first
>> and used it. Maybe this was different in older versions of IDL? The docs
>> say PRODUCT was introduced in IDL 5.6, but I only have access back to
>> IDL 6.4 where it still seems to be a built-in.
>
> For a few built-in IDL routines I have fixed bugs or made
> minor modifications (routines for which ITT provides the
> source code).  I keep these in a separate directory and insert that
> directory into the IDL search path ahead of the default search
> path.
>
> Maybe that won't work for those routines for which ITT does
> not provide source code (precompiled routines) ?
>
> Ken

I'd be very hesitant to knowingly create a function with the same name
as one that is part of the official distribution, for exactly the
reasons we're seeing here. When I extend/bugfix ITT routines, I give
them a slightly different name (usually either prefixed by JB or
having some suffix that indicates what's been changed, e.g. MEAN_D).

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLWAVE idlwave-surround-by-by-blank
Next Topic: Re: x-y offsets

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

Current Time: Thu Oct 16 03:02:23 PDT 2025

Total time taken to generate the page: 0.72117 seconds