MathGroup Archive 2011

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

Search the Archive

Re: dissabling code segments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115188] Re: dissabling code segments
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Tue, 4 Jan 2011 04:22:34 -0500 (EST)
  • References: <ifs31m$opn$1@smc.vnet.net>

In Mathematica 8 you can comment out (and in) lines of code using the
Edit/(Un)comment menu or Alt-/

Cheers -- Sjoerd

 On Jan 3, 9:57 am, "Eric Michielssen" <emich... at eecs.umich.edu>
wrote:
> Hi,
>
> Often, I would like to quickly disable (comment out) a few lines of my code.
> Of course, I can do this by enclosing these lines as (* lines *).
>
> I was wondering whether I could automate this operation and its reverse
> using the frontend, so that I just have to select the lines in question and
> press a hotkey combination.
>
> Thanks!
>
> Eric Michielssen



  • Prev by Date: Numerical Solver for 2D/3D (Reaction-)Diffusion equation
  • Next by Date: Re: Best Way to Copy from Mathematica to Powerpoint?
  • Previous by thread: Re: dissabling code segments
  • Next by thread: Re: dissabling code segments