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

Home » Public Forums » archive » call_method
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: call_method [message #26562 is a reply to message #26480] Fri, 07 September 2001 07:38 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
"Mark Hadfield" <m.hadfield@niwa.cri.nz> wrote in message
news:001501c1374f$113c8ed0$d938a8c0@Hadfield...
> From: "Pavel A. Romashkin" <pavel.romashkin@noaa.gov>
>> David Fanning wrote:
>>
>>> IDL doesn't have any trouble keeping straight the difference
>>> between procedures and functions with the same name.
>>
>> Oh... This never occurred to me. I have never even attempted making a
>> pro and a function with the same name. Duh...
>
> There's no problem in *having* a procedure and a function with the same
> name. The problem is in *compiling* them both. Or to be more exact, in
> having them automatically complied.

Just a reminder of that very handy new feature in IDL 5.4: in those cases
where you can use RESOLVE_ROUTINE, 'myroutine', if you add
/COMPILE_FULL_FILE you should get both the pro and function, no matter which
came first.

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: a newbie question on code efficiency
Next Topic: Re: object graphics to postcript and how to copy an object tree

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

Current Time: Sun Oct 12 10:43:47 PDT 2025

Total time taken to generate the page: 1.52088 seconds