[next] [prev] [prev-tail] [tail] [up]
Options[myFun] = {form -> "linear"}; myFun[x_, OptionsPattern[]] := Module[{}, Print["x=", x, "form=", OptionValue[form]]; ] myFun[3, form -> "quadratic"]
This below is also a useful post by David Park on the net on options usage in packages
msg00335.html
[next] [prev] [prev-tail] [front] [up]