[Date Index] [Thread Index] [Author Index]
Re: Odd Formatting Problem
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.