Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: How to Clear All Variables in Current Cell

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113969] Re: How to Clear All Variables in Current Cell
  • From: James Stein <mathgroup at stein.org>
  • Date: Fri, 19 Nov 2010 05:11:58 -0500 (EST)

Perhaps the variables you wish to clear should have be defined in a Module,
also the calculations using them.

On Thu, Nov 18, 2010 at 4:07 AM, Jie Wu <cn.fyodor at gmail.com> wrote:

> Hi, all
>
> Since I would use results from previous cells and the current cell included
> lots of variables, which might bring up some unknown bugs,
> Clear["Global`*"]
> command could not help. So is there any way to do this work? Thanks in
> advance.
>
> Jie W.
>


  • Prev by Date: Change in Times[] behavior from Mathematica 7 to Mathematica 8
  • Next by Date: How to work with In?
  • Previous by thread: How to Clear All Variables in Current Cell
  • Next by thread: Difference between ; and , in for loop