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

Home » Public Forums » archive » HANDLE_FREE: when to use? is it necessary?
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: HANDLE_FREE: when to use? is it necessary? [message #6651 is a reply to message #6626] Thu, 01 August 1996 00:00 Go to previous messageGo to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
In article <77g26a8wtl.fsf@custer.jhuapl.edu>, chase@custer.jhuapl.edu (Chris Chase SRM) writes:
|> I use IDL version 4.0.1 on various UNIX systems (HPUX, IRIX, SunOS).
|> "help,/handle" gives some revealing statistics about handles. It

Thanks! I didn't know about the help,/handle switch. It works on
IDL 3.6.1 as well.

|> Because top-level handles are like a global variable there is really
|> no reason to have thousands of them available simultaneously - it would
|> be like a C program with thousands of different variables which would
|> overwhelm most C compilers.
|>

I disagree -- for a handle to act like a global variable, you'd need
a global variable to store the handle number.

You could have, e.g., a linked list, a linked list of lists, or a
tree, or whatever, using thousands of handles. But I guess RSI
people aren't used to that... The C program equivalent would need
one global pointer.

Stein Vidar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Color problems with display to Macintosh
Next Topic: Re: Using WIDGET_EVENT to break into loops

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

Current Time: Fri Oct 10 17:44:58 PDT 2025

Total time taken to generate the page: 0.47744 seconds