Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

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

Search the Archive

Re: Running Notebooks inside a notebook:

  • To: mathgroup at
  • Subject: [mg91226] Re: Running Notebooks inside a notebook:
  • From: David Bailey <dave at>
  • Date: Sun, 10 Aug 2008 01:52:53 -0400 (EDT)
  • References: <g7k0eo$ics$>

Gopinath Venkatesan wrote:
> Hello David
> Thank you for the suggestion. It worked good for me.
> I see that we don't even need another notebook to repeat the desired contents. Only thing I don't like/understand is if we have Plot[] or other commands without semicolon(;) in the end, there are possibilities that the code stops working. For example, say I have a "error-free" definition, mass=10; in the Inner.nb in the second line, and the first line is some command that does not have a ; in the end, then it gives error saying Tag times mass is protected, as if I am assigning 3 mass = 21. So I had to remove all the Plot[] commands and other commands that don't have ;.
> Thank you again,
> Regards,
> Gopinath
I suspect that what you need to know is that you can have a Plot command 
embedded in other code, but you need to use Print in order to obtain its 

some statements;
some more statements;

David Bailey

  • Prev by Date: Simulating a Mouseover event in EventHandler
  • Next by Date: Re: memory question
  • Previous by thread: Re: Running Notebooks inside a notebook:
  • Next by thread: Derivative of Dot[]