Re: How to use package without manually evaluating?
- To: mathgroup at smc.vnet.net
- Subject: [mg90559] Re: How to use package without manually evaluating?
- From: "Jeremy Conlin" <jeremit0 at gmail.com>
- Date: Sun, 13 Jul 2008 15:46:57 -0400 (EDT)
- References: <email@example.com> <firstname.lastname@example.org>
On Sat, Jul 12, 2008 at 1:05 PM, Jean-Marc Gulliet < jeanmarc.gulliet at gmail.com> wrote: > jeremito wrote: > > On Jul 10, 7:32 am, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de> >> wrote: >> >>> Hi, >>> >>> you have to find *which* file. The Package *.m has no cells >>> and the *.nb file has cells but it is not a package. >>> >>> Regards >>> Jens >>> >>> >>> avoid this. Can someone help? > > I may have failed to understand what the problem is: if Matrices.m is > auto-loaded, well, you have nothing else do do before being able to use the > functions defined in it. > > However, looking more closely at your code, I have noticed that you export > only one function, all the others are private. So, perhaps, exporting the > other functions will solve your problem. For instance, in the following, all > the functions but Standard are exported, i.e. public, so ready to be use > after the package has been loaded. > Thanks for the suggestions. Clearly I'm new to this and can use all the help I can get. I'll try your suggestions and report back if it doesn't work. Thanks, Jeremy