Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Package and options

  • To: mathgroup at
  • Subject: [mg50400] Package and options
  • From: guillerm at (Guillermo Sanchez)
  • Date: Thu, 2 Sep 2004 04:34:24 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Dear friends

Here is a example package:

(*Title : Package for testing options*)


fexample1::"usage" = "Help example";

Options[fexample1] = {a -> A, b -> B}


fexample1[x_, opts___Rule] := 
  (a + b) x /. {opts} /. Options[fexample1]



(*Now I request the package Help*) 


(*They are shown not only the fexample1 help but the symbols used in
Options are also shown. How can I prevend that these symbols (a, A, b,
B} be shown.

Other general question:

When Options should be place inside of the private context?


  • Prev by Date: Use of large memory
  • Next by Date: making contents and index
  • Previous by thread: Re: Use of large memory
  • Next by thread: RE: Package and options