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

Home » Public Forums » archive » Re: check for duplicate routine names?
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: check for duplicate routine names? [message #23259 is a reply to message #23258] Fri, 19 January 2001 06:54 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
David Fanning wrote:

> Michael W Asten (masten@mail.earth.monash.edu.au) writes:
>
>> IDL does not appear to give any warning of the compilation of a routine
>> of same name as one already compiled. Has anyone any ideas on how such
>> errors can be trapped ?

> What you need is a language with a little more
> structure to it. Why not give up IDL and try
> Pascal. :-)
>
> Cheers,
>
> David


Now that reply came a bit too easy, I would say. Even IDL has quite some
structure to it, and this is definitely one of the things which *could*
be checked, if maybe only at runtime. ROUTINE_INFO,/SOURCE provides the
full path to the origin of any compiled routines, so a simple check
there could warn for "recompilation from a different origin".

Now to write this kind of check yourself you would need a hook onto when
IDL starts automatic compilation...

cheers,
Jaco
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and basic stable! widgets [Example program??]
Next Topic: Re: Printf and line breaks

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

Current Time: Sun Oct 12 05:05:07 PDT 2025

Total time taken to generate the page: 1.19806 seconds