Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: blah::usage and BeginPackage

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18931] Re: blah::usage and BeginPackage
  • From: Patrick Hansmeier <patrick at ds.e-technik.uni-dortmund.de>
  • Date: Tue, 27 Jul 1999 22:17:29 -0400
  • Organization: Universitaet Dortmund
  • References: <7n6av5$h9d@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

> My question is, how can such a function be defined in a package and made
> available to the outside. Any variations of foo::usage I could come up
> with did not seem to do the job.

Rough outline: firstly a BeginPackage, then the foo:usage-stuff, then
s.th. with Private, after that your functions, End,
EndPackage. Moreover the input cells containing the definitions have
to be marked as Initalization Cells.

M4's help browser returned chapter-number 6.14.5, this should provide
further insight.

Patrick

-- 
to understand recursion, you have to understand recursion first


  • Prev by Date: How to prevent a window from being resized?
  • Next by Date: Re: ARghh!!
  • Previous by thread: blah::usage and BeginPackage
  • Next by thread: Q: Can I create a button function ?