|
[Date Index]
[Thread Index]
[Author Index]
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[]
Prev by Date:
Re: Contexts and Naming of Things
Next by Date:
How can I make 3.0 work with Win2K?
Previous by thread:
Contexts and Naming of Things
Next by thread:
Re: Contexts and Naming of Things
|