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

Home » Public Forums » archive » It seems that there is *a bit* polymorphism in IDL.
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: It seems that there is *a bit* polymorphism in IDL. [message #40546 is a reply to message #40464] Wed, 11 August 2004 14:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Hadfield writes:

> Note that the above difficulty does not occur with object methods. It is
> perfectly OK to have two object methods of the same name, one a function
> and one a procedure. They will both get compiled when
> <object>__define.pro is compiled. I've been doing this for years.

Amen to this! In fact, generalized GetProperty functions
are so easy to write and so useful for obtaining any *single*
object property, that *all* your objects should have one, along
with the usual GetProperty procedure. :-)

http://www.dfanning.com/tips/getproperty.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple IDL versions
Next Topic: black window on fsc_surface & fsc_surface_log?

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

Current Time: Sat Oct 11 00:57:41 PDT 2025

Total time taken to generate the page: 0.88053 seconds