Re: subprogramas as separate notebooks
- To: mathgroup at smc.vnet.net
- Subject: [mg26701] Re: subprogramas as separate notebooks
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 18 Jan 2001 00:57:10 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <943bkq$c9f@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, there is some good old stuff, called packages. You can put all you commands in packages, and functions defined in that packages. Pass the parameters to that functions and no notebooks are needed. Regards Jens Otto Linsuain wrote: > > Hi everyone. I have a simple question. I read the Mathematica section on > notebook manipulation, but didn't find an answer to my question. > > I have a relatively simple but bulky code. The reason is that after I > input the parameters I go on to creating a whole pile of directories > (whose path names depend on the values of the parameters), then I define > a simple function and go on to evaluate that function for a whole bunch > of different values and store lists of numbers in files in those > directories (unless this has already been stored for those values of the > parameters in a previous run), then I use these numbers in the actual > solution of the problem which involves some numerical crunching. > > My code would be much nicer to read and debug if I could have a driver > notebook where the parameters are introduced, and then from there I > could call another one that creates the directories, another that stores > the numbers and so on. It really doesn't matter to me in I have to open > all the notebooks for this to work, or if the FrontEnd will open them. > What I would like is to deal with simpler more especialized notebooks. > > Any advice would be highly appreciated. > > Otto Linsuain.