Re: Newbie-?: How to edit an input and recalculate dependent formula's
- To: mathgroup at smc.vnet.net
- Subject: [mg25657] Re: Newbie-?: How to edit an input and recalculate dependent formula's
- From: "P.J. Hinton" <paulh at wolfram.com>
- Date: Wed, 18 Oct 2000 02:52:28 -0400 (EDT)
- Organization: Wolfram Research, Inc.
- References: <firstname.lastname@example.org>
- Sender: owner-wri-mathgroup at wolfram.com
On 16 Oct 2000, Adriaan_S wrote: > I started to use Mathematica 4.02 today (on Windows NT 4.0), and quickly ran > into a problem: how do I edit an input?? > > It is easy enough to change an existing input line, but I noticed that two > unexpected things happen: > (a) the input line number is changed to (the last one +1) > (b) none of the subsequent equations (in the original number scheme) are > recalculated > > I would like to believe that I am not the first of over 1 million > Mathematica users to ever make a mistake? I searched help, but with no > success. Take a look in _The Mathematica Book_ Section 1.3.4. http://documents.wolfram.com/v4/MainBook/1_03/S1.3.4.html You'll find a brief but useful discussion therein. > >>How do I correct or modify an input line in such a way that all of the > following equations ARE recalculated?? > > On a related note, since the calcs don't execute in the order they are > displayed on the page, is there a way to re-display the page to match the > actual calcs? Mathematica is not a monolithic application. It is really two distinct executables: the front end, which is the graphical interface that you are using, and a kernel, which is the portion that evaluates your input. The kernel knows nothing about the ordering of cells in your notebook. If you reevaluate a cell, the front end will not evaluate cells that appear prior to that cell. You need to manually select cells that are to be evaluated. The front end will send them to the kernel in the order that they appear in the notebook. Likewise, the front end does not know the about the evaluation history in the kernel. The In and Out prompts are echoed from the kernel during evaluation. -- P.J. Hinton User Interface Programmer paulh at wolfram.com Wolfram Research, Inc. Disclaimer: Opinions expressed herein are those of the author alone.