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

Home » Public Forums » archive » Need IDL 8 Help
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: Need IDL 8 Help [message #87326 is a reply to message #87324] Fri, 24 January 2014 12:09 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matthew Argall writes:

> theHash[message] is the list of objects receiving/sending messages. Lists have _overloadEQ methods that compare each entity in the list to the desired quantity. If the maximum in the array of 1's and 0's is 0, then you know that the object is not in the list already.
>
> IDL> message = 'CHANGED_COLORS'
> IDL>
> IDL> theHash = hash()
> IDL> obj1 = obj_new('idl_container')
> IDL> obj2 = obj_new('idlanroi')
> IDL> obj3 = obj_new('idlgrview')
> IDL>
> IDL> theHash[message] = list()
> IDL> theHash[message] -> add, obj1
> IDL> theHash[message] -> add, obj2
> IDL> print, theHash[message] eq obj3
> 0 0

Humm. A overloaded operator is kinda like introducing a paragraph into
the documentation that is written in Serbian, isn't it? ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TODO tag in IDL Workbench?
Next Topic: Unable to create X windows Window is iconified and has no backing store...

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

Current Time: Sat Oct 11 02:36:49 PDT 2025

Total time taken to generate the page: 0.96138 seconds