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

Home » Public Forums » archive » Re: OBJ_HASMETHOD
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: OBJ_HASMETHOD [message #42756 is a reply to message #42755] Fri, 25 February 2005 10:07 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 25 Feb 2005 10:47:12 -0700, David Fanning wrote:

> Folks,
>
> Oh, oh. I discovered quite by accident (I assumed it would
> be there) that there is a function OBJ_HASMETHOD that can
> be used to tell if an object has a particular method or not.
> But I can't find any reference to it in the IDL documentation.
>
> obj = Obj_New('trackball')
> Print, Obj_HasMethod(obj, 'UPDATE')
> 1
>
> Does anyone know anything about this function? In particular,
> I would like to know when it was introduced. I don't spend
> a *great* deal of time thinking about backward compatibility,
> but in this particular instance I must. It will replace a hack
> from a long time ago in a fundamental part of the code. :-(

I don't think it ships with IDL, but instead it was found on the RSI
contrib site, contributed by Jim Pendelton. You even remarked:

http://groups-beta.google.com/group/comp.lang.idl-pvwave/msg /1c08f8398539fcd6

Maybe you need to make that webpage after all ;). Or you could just do:

http://groups-beta.google.com/groups?as_q=object_hasmethod&a mp;as_ugroup=*idl-pvwave*

JD
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: OBJ_HASMETHOD
Next Topic: Re: Yet another object graphics question

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

Current Time: Tue Dec 02 14:44:03 PST 2025

Total time taken to generate the page: 1.44118 seconds