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

Home » Public Forums » archive » Re: User functions and data name conflicts
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: User functions and data name conflicts [message #26516 is a reply to message #26512] Tue, 04 September 2001 18:40 Go to previous messageGo to previous message
Kristine Hensel is currently offline  Kristine Hensel
Messages: 26
Registered: June 1999
Junior Member
David Fanning wrote:
>
> Richard Smart (smart@to.astro.it) writes:
>
>> Our system have just upgraded to a new IDL with more user
>> functions, one of these new ones is pm, and obsolete
>> procedure to print matrices, one of the structured variables I
>> have been using for the last few years also has this name
>> and I have a few 1000 lines of code using this variable in
>> various ways, now none of my code runs as the variable conflicts
>> with the function, is there any way to tell IDL to ignore this
>> particular user function or do I have to go back and change
>> my variable name?
>
> Are you sure!?
>
> I've heard of functions being confused with variables,
> but I've never, ever heard of variables being confused
> with functions.

If pm is used as an array variable, the problem could come from using
pm() instead of pm[]. In which case, the choice is between replacing
the ()'s or replacing the pm's. (I'd choose the latter.)

Kristine
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Speed penalty using START and COUNT with HDF_SD_GETDATA
Next Topic: How far is OO implemented in IDL?

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

Current Time: Fri Oct 10 15:23:22 PDT 2025

Total time taken to generate the page: 0.08209 seconds