MathGroup Archive 2010

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

Search the Archive

Syntax coloring

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111798] Syntax coloring
  • From: Themis Matsoukas <tmatsoukas at me.com>
  • Date: Fri, 13 Aug 2010 06:58:14 -0400 (EDT)

If I change this:

If[a > 1,
  Do[Print[i], {i, 1, 10}];
  ];

to this:

If[a > 1,
  Do[Print[i], {i, 1, 10}]; (*end do*)
  ];

then, the semicolon right before the comment (*end do*) turns magenta.

But if I remove the very LAST semicolon and then type it again, the magenta turns black.

Do others see this behavior? 

"7.0 for Mac OS X x86 (64-bit) (November 11, 2008)"

Themis


  • Prev by Date: Re: Mathematica won't stop
  • Next by Date: Equation style crash bug
  • Previous by thread: Benchmark - 64 bit much slower than 32 bit
  • Next by thread: Re: Syntax coloring