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

Home » Public Forums » archive » Re: Surprising Odds and Ends
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: Surprising Odds and Ends [message #21239 is a reply to message #21228] Mon, 14 August 2000 16:12 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
> The bottom line is that HEAP_GC doesn't belong in
> your code

Agreed.

> ..What you should
> do is CATCH errors, and handle things in such a way that
> you never have a need for HEAP_GC. And that is what
> this chapter in my book is going to be about. :-)

I'd better buy your book when it comes out :-) Until then, HEAP_GC and its
friends RETALL, WIDGET_CONTROL,/RESET and CLOSE,/ALL are mighty handy from
the command line when cleaning up after an error.

This has been discussed on the group before, but I'm not keen on excessively
enthusiastic error handling in code. If in doubt, stop where the error
occurred and let the user sort it out!

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Throwing Widget Events?
Next Topic: Throwing Widget Events?

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

Current Time: Sat Oct 11 10:31:00 PDT 2025

Total time taken to generate the page: 0.56024 seconds