Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: dissabling code segments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115215] Re: dissabling code segments
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Tue, 4 Jan 2011 04:27:38 -0500 (EST)
  • References: <ifs31m$opn$1@smc.vnet.net>

In version 8 there is the "Un/Comment Selection" command.  It is in
the Edit menu.  On the mac it has the key binding "Command-/".

--david
http://scientificarts.com/worklife

On Jan 3, 3: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: Re: Best Way to Copy from Mathematica to Powerpoint?
  • Next by Date: Re: dissabling code segments
  • Previous by thread: Re: dissabling code segments
  • Next by thread: Re: dissabling code segments