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

Home » Public Forums » archive » Re: main or procedure
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: main or procedure [message #54625 is a reply to message #54624] Wed, 20 June 2007 07:24 Go to previous messageGo to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
David Fanning wrote:
> If programs are written correctly, they don't have to
> be compiled manually, hence they work on ANY level. :-)

If programs were written correctly, there would be no need to
debug them in the first place. Since they aren't, there is a need,
hence the trap of writing some ad-hoc data displaying code to
find out why the program stopped, and running said code by
compiling it into a new main program (which is what IDLWAVE's
very useful idlwave-shell-run-region function will do).

Then realising you should have run the code by either entering
it into the command line, or putting it into a named function
or procedure. Then swear profusely at IDL for returning to the
main level and destroying all the data you would have needed
for proper error diagnostic.

Of all the crimes against usability, throwing away the
user's data without asking is one of the worst.


chl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Speed and array operations
Next Topic: memory for pixmaps: big vs many

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

Current Time: Fri Oct 10 11:33:50 PDT 2025

Total time taken to generate the page: 0.95950 seconds