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

Home » Public Forums » archive » Re: determing object type at runtime 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: determing object type at runtime in IDL [message #36863 is a reply to message #36861] Wed, 29 October 2003 15:15 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rob Eger writes:

> Is there a way to determine the type of object something is at
> runtime? For example, if an object x is an IDLgrView or IDLgrModel
> object. SIZE doesn't help as far as I can tell because it will only
> tell you it's an OBJREF.

Try this:

IDL> Print, Obj_Class(object)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: about contour
Next Topic: Number of points within a rectangular region

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

Current Time: Sat Oct 11 08:03:33 PDT 2025

Total time taken to generate the page: 1.28100 seconds