Re: Contexts and Naming of Things
- To: mathgroup at smc.vnet.net
- Subject: [mg25728] Re: [mg25691] Contexts and Naming of Things
- From: Jean-Marie THOMAS <jmt at agat.net>
- Date: Sat, 21 Oct 2000 14:42:43 -0400 (EDT)
- References: <200010190835.EAA21592@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You must declare bar and nebbish in your context public interface : BeginPackage["HSSV`cavity`"] foo::usage = "now is the time..." bar::usage="whatever you want" nebbish::usage="and so on" Begin["`Private`"] foo[x_, y_] := 1 /; y === bar; foo[x_, y_] := 2 /; y === nebbish; End[] EndPackage[]
- References:
- Contexts and Naming of Things
- From: Mike Yukish <may106@psu.edu>
- Contexts and Naming of Things