Re: Saving Packages
- To: mathgroup at smc.vnet.net
- Subject: [mg86850] Re: Saving Packages
- From: Jerry <Jer75811 at yahoo.com>
- Date: Sun, 23 Mar 2008 01:03:17 -0500 (EST)
- References: <fro3a6$i8l$1@smc.vnet.net> <frqpnm$505$1@smc.vnet.net> <fs26nq$6r$1@smc.vnet.net>
alexxx.magni at gmail.com wrote: > Thanks for the answers, everybody. > I googled this group in the past posts for info on package management, > but didnt find so much info - I'll have to dig deeper. > > Your answers were of course right: setting the cells as init cells did > the right thing. > > Yet I'd like to explain better what is my larger problem is: > to break down a big project in pieces, it is correct then to save big > chunks of code definitions as packages? > I'm asking because I'd like to still keep on modifying those packages, > as in a standard notebook. But opening the .m file brings up a > different interface, which although it seems useful (drop down boxes > with Functions and Sections - I'd like to have them in the notebook!) > it's not so clear to me if I'm losing something present in the > notebook interface. > > What I'm doing now, thanks to your answers, is to work in the .nb > file, modify it as needed, select all cells and set them to init, and > save as .m file. Correct? > Sir, I am very curious: what would you then do with the .m file? What use does it have?