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

Home » Public Forums » archive » 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
OBJ_HASMETHOD [message #42757] Fri, 25 February 2005 09:47
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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. :-(

Thanks,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Re: detection of events from the serial port
Next Topic: Re: OBJ_HASMETHOD

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

Current Time: Sat Oct 11 20:19:14 PDT 2025

Total time taken to generate the page: 1.91757 seconds