MathGroup Archive 1999

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

Search the Archive

How to: Read Notebook and auto-evaluate ?

  • To: mathgroup at
  • Subject: [mg20938] How to: Read Notebook and auto-evaluate ?
  • From: pecora at (Lou Pecora)
  • Date: Wed, 1 Dec 1999 01:50:06 -0500 (EST)
  • Organization: Naval Research Lab
  • Sender: owner-wri-mathgroup at

I am unsuccessful in reading in a Notebook and automatically evaluating
its cells.  The Mathematica book makes it sound simple, but it doesn't
work.  What am I doing wrong?

E.g. I have a notebook ("mynbook.nb", say)  with one line:


This is a normal cell.  Then when running a session in another notebook I
use Get to read it in:


This returns lines of text about notebook stuff and shows the assignment
xx=2 in the midst of all that.  But when I type

xx  (enter)

I just get xx back, not 2.  Looks like Mathematica finds the Notebook but
does not evaluate the cells.  How can I do this?  Thanks for any help.

Lou Pecora,  email:  pecora at
Naval Research Laboratory, Washington, D.C. 20375-5000, U.S.A.
 == My comments are my own and do not reflect the views of the U.S. Navy. ==
 == No Spamming or solicitations -- both are illegal at this site ==
Check out our Nonlinear Dynamics Web site:
  * The 5th Experimental Chaos Conference Orlando FL June 1999.
Check it out at
  * The 4th Experimental Chaos Conference Sessions & Abstracts Online:, proceedings available.

  • Prev by Date: Re: Running Mathematica under Linux Red Hat
  • Next by Date: Re: the new @@@ thing, MapApply?
  • Previous by thread: Re: Re: Orderless indexed functions
  • Next by thread: Re: How to: Read Notebook and auto-evaluate ?