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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: OBJ_HASMETHOD [message #42750] Fri, 25 February 2005 15:26
Jim Pendleton is currently offline  Jim Pendleton
Messages: 13
Registered: July 2001
Junior Member
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1c89190c4867abbc989945@news.frii.com...
> JD Smith writes:
>
>> I don't think it ships with IDL, but instead it was found on the RSI
>> contrib site, contributed by Jim Pendelton.
>
> Well, that explains a couple of things. I thought it was odd
> that the name would just "come" to me. :-)

You are indeed prescient, David, since my version of the functionality on
the codebank
is named "OBJECT_HASMETHOD". Of course, in spending weeks plowing through
the source code of the iTools, as you've probably done, you probably
subliminally noted
its use therein.

Jim P.
Re: OBJ_HASMETHOD [message #42755 is a reply to message #42750] Fri, 25 February 2005 10:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JD Smith writes:

> 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*

Well, that explains a couple of things. I thought it was odd
that the name would just "come" to me. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: OBJ_HASMETHOD
Next Topic: Re: Yet another object graphics question

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

Current Time: Sat Oct 11 03:47:37 PDT 2025

Total time taken to generate the page: 0.00262 seconds