Re: Package Puzzlers?
- To: mathgroup at smc.vnet.net
- Subject: [mg35759] Re: Package Puzzlers?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 30 Jul 2002 07:22:06 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <ai070f$1fj$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, you want to preprare a package with the notebook frontend ? *and* you have not read http://support.wolfram.com/mathematica/packages/writing/make.html especial item 2 of the url above will help you. Regards Jens AES wrote: > > I want to make some simple packages. Not even much worried about > contexts or protection, since all symbols likely to be global anyway. > > But I would like to put multiple cells including notebook type header > cells in these packages -- primarily, I suppose, because this makes the > code so much easier to edit and more readable, for me anyway, than using > (* *) style comments. > > 1) All the package demos and templates I've seen seem to be single > cells (though that's not always very clearly stated). Do packages have > to be single cells? Or can they have multiple cells, including header > cells? > > 2) How come compound expressions in these single-cell packages don't > seem to need semicolons between the expressions? > > 3) As an alternative to a package, suppose I just want a cell in > notebook A to execute the entirely of another notebook B, again with no > context concerns, all symbols global, and notebooks A and B both open on > the desktop. > > What exactly do I need to put in notebook A to do this? (I can read all > about the NotebookCreate, NotebookWrite, NotebookFind commands -- I just > can't find a "NotebookRun" or "NotebookExecute" command.) > > Mac PB G3, OS 9.1, Mathematica 4.0.