Re: Re: Can't abort a loop with Print inside (V6)
- To: mathgroup at smc.vnet.net
- Subject: [mg83247] Re: [mg83226] Re: Can't abort a loop with Print inside (V6)
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Fri, 16 Nov 2007 05:23:49 -0500 (EST)
- Organization: LANL
- References: <200711151043.FAA09250@smc.vnet.net>
- Reply-to: cfo at lanl.gov
On Thursday 15 November 2007 03:43:15 Bill Rowe wrote:
> The only reason I can see for putting a Print statement in the
> loop is for debugging purposes. Surely no one wants to have 1000
> Print statements execute or even 100.
This is somewhat pedantic, but when I or my colleagues have used
Mathematica for large amounts of data processing (perhaps finding certain
edges in photographs and then fitting these edges to various functions), it's
really useful to have a Print statement in each go-around.
Sure, you end up with several thousand lines of "Hey! I'm done with
iteration nnnn", but those are easy to erase, and it gives one some
confidence that the job won't take forever. More of a psychological balm than
anything else.
--
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================
- References:
- Re: Can't abort a loop with Print inside (V6)
- From: Bill Rowe <readnewsciv@sbcglobal.net>
- Re: Can't abort a loop with Print inside (V6)