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 #26523 is a reply to message #26516] Tue, 04 September 2001 10:31 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.

In any case, take the darn PM function out of the
obsolete directory if you aren't using it. Or, remove
the obsolete directory from the path. Or, if you *have*
to have the PM function available for someone in your
organization, move it to a ReallyReallyObsolete subdirectory,
and let them add that directory to their path. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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: Sat Oct 11 03:57:30 PDT 2025

Total time taken to generate the page: 1.99624 seconds