MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Odd Formatting Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35078] Re: Odd Formatting Problem
  • From: aes <siegman at stanford.edu>
  • Date: Mon, 24 Jun 2002 03:21:05 -0400 (EDT)
  • Organization: Stanford University
  • References: <aeua31$8on$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Re the problem of inserting CRs before or after "<>" symbols in 
long string expressions:

In article <aeua31$8on$1 at smc.vnet.net>, BobHanlon at aol.com wrote:

> First, do not break a line at a point that could represent a complete 
> expression.  Specifically, always leave the StringJoin ( <> ) at the end 
> of a line not at the start of a line.  That way Mathematica will know 
> unambiguously that more follows in the current expression.

This is such an obviously sensible idea that I'm embarrassed not 
to have done it from the start.

There's still the problem, however, that if you do it the dumb 
way, as I did, Mathematica sometimes goes off into some kind of 
never-never land where you don't seem to be able to Abort or 
Interrupt Execution, and the only way out (that I've found, 
anyway) is Quit or Force Quit.

I don't know if this should be called a genuine bug in Mathematica or just 
some complex interaction between front end, kernel and OS, and 
very likely it's not worth much effort trying to fix it.  One 
fortunate aspect is that you can still apparently always Save your 
notebook even when trapped in an endless execution mode, and that 
can be a godsend at times.


  • Prev by Date: Re: Random bits (generation)
  • Next by Date: Large-scale enumerations and memory problems
  • Previous by thread: RE: Odd Formatting Problem
  • Next by thread: Working with Strings