Re: elementary questio about packages
- To: mathgroup at smc.vnet.net
- Subject: [mg108251] Re: [mg108238] elementary questio about packages
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Thu, 11 Mar 2010 07:48:13 -0500 (EST)
- References: <201003111137.GAA06115@smc.vnet.net>
Hi, like your function-symbols, the symbols z1, z2, ... need to be exported by giving them a usage. Cheers Patrick On Thu, 2010-03-11 at 06:37 -0500, Francisco Gutierrez wrote: > Dear List: > I made a package with a function that has a minimization. The minimization > returns, as should be, the value of the optimization, and then the values > of the variables, in the form {z1->10,z2->20,z3->50}. > > In the notebook, this works perfectly well. In the package, however, the function throws back the variables in the form {contextname`z1->10,contextname`z2->20}. > This is obnoxious, and makes the result much harder to utilize. How can I avoid this? I tried deleting > Begin["`Private`"], but then I got a completely crazy result. > What should I do? > Fg >
- References:
- elementary questio about packages
- From: Francisco Gutierrez <fgutiers2002@yahoo.com>
- elementary questio about packages