MathGroup Archive 2001

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

Search the Archive

Transparent evalaution of a notebook

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30540] Transparent evalaution of a notebook
  • From: "Helge Andersson" <helgea at inoc.chalmers.se>
  • Date: Tue, 28 Aug 2001 04:54:44 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Mathematica users

Can someone give me an example of a command sequence or functions which
Opens another notebook and perform the evaluation of one or more cells
in that notebook.

To be more specific:

I have the notebook abc.nb  where I do some calculations using
predefined variables, lists and functions which I dont want to define
in abc.nb.  I have a Notebook called  definitions.nb where I keep my
definitions of variables, list and functions. When I start to work with
my calculations in abc.nb, I want to evaluate one cell in abc.nb (the
first cell for example) which

1. Opens definitions.nb ,
2. Evaluate the cells in definitions.nb
3. Close definitions.nb after the evaluation in step 2


I should say that the functions in definitions.nb are not so general
that I want to implement them as packages. I also know that I can use
one or two evenings reading the help menu but I try this way first as a
possible time-saver.  I work on Window 2000 machine with Mathematica
4.1.


Helge Andersson


Chalmers University of Technology
SE-412 96 Sweden




  • Prev by Date: Re: Fitting data to line with a specific slope
  • Next by Date: RE: Lines in a legend are too short
  • Previous by thread: Re: Fitting data to line with a specific slope
  • Next by thread: Re: Transparent evalaution of a notebook