Re: A very simple question on including notebooks into other notebooks.
- To: mathgroup at smc.vnet.net
- Subject: [mg23680] Re: A very simple question on including notebooks into other notebooks.
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Mon, 29 May 2000 12:24:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Madhusudan , You may find that the function Save (see Help browser) is what you need. For more complicated storage definitions should be made into a Package. -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Madhusudan Singh" <chhabra at eecs.umich.edu> wrote in message news:8gsoru$ei4 at smc.vnet.net... > A very basic question: > --------------- > > I have a Mathematica notebook with constants and expressions I often use > in my calculations. I have tried to include it by : > <<"useful.nb"; > > > I noticed one thing : The constants defined in useful.nb are not made > available to the current notebook unless useful.nb has been opened and > run once. This might be some kind of default behaviour but I find it > very unsatisfactory. Suggestions ? I want to use this file just as a .h > file in a C++ program. > > Thanks, > Madhusudan Singh. > > > > >