Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Running a notebook from within another

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46611] Re: Running a notebook from within another
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 25 Feb 2004 13:07:04 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <c1h0u1$9so$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

and you can't copy your 10 lines to a ASCII file
header.m and save this ot your hard disk.

In all your notebooks you simply say
Get["header.m"]

and you are done ...

Regards
  Jens


JM wrote:
> 
> I searched a little and found no answer to this - and it's late and
> I'm tired. It must be an easy Qu.
> 
> I have many notebooks that all start with the same 10 or so lines.
> They set up some variables that I use. Is there anyway I could stick
> those lines in a separate notebook e.g. header.nb and call it in my
> main notebooks. Would help with reusability & maintenance etc..
> 
> e.g
> 
> in MainFile.nb
> 
> Run header.nb
> 1+1
> etc.....


  • Prev by Date: Re: ListPlot output
  • Next by Date: Matrix Element Extraction
  • Previous by thread: Re: Running a notebook from within another
  • Next by thread: Matrix Element Extraction