Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1559
| From | Alexey <lehin.p@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: multiple contexts in package |
| Date | 2011-04-09 11:13 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <inpf0l$90e$1@smc.vnet.net> (permalink) |
| References | <inmg25$psp$1@smc.vnet.net> |
Sebastian Hofer <sebhofer@gmail.com> wrote: > I have a package which uses (internally) a function f, which should normally be in the private context. But sometimes I want it to be visible. Is it possible to create some kind of sub-context in the package which makes f visible only if I load the package in a certain way? Maybe my original approach was just totally wrong... Try DeclarePackage function: http://reference.wolfram.com/mathematica/ref/DeclarePackage.html
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: multiple contexts in package Sebastian Hofer <sebhofer@gmail.com> - 2011-04-08 08:12 +0000 Re: multiple contexts in package Alexey <lehin.p@gmail.com> - 2011-04-09 11:13 +0000
csiph-web