Re: Beware fcn[x_:0, opts___?OptionQ]
- To: mathgroup at smc.vnet.net
- Subject: [mg9898] Re: Beware fcn[x_:0, opts___?OptionQ]
- From: bmarks at helix.nih.gov (William B. Marks)
- Date: Sun, 30 Nov 1997 20:16:45 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Recenty I showed that the commonly needed fcn above does not work, but I proposed a flawed alternative. A version that works is fcn[x_, opts___?OptionsQ] fcn[opts___?OptionsQ] := fcn[0, opts] in the sense that In out fcn[] 0 fcn[1] 1 fcn[aa->"aa"] 0 fcn[1, aa->"aa"] 0 fcn[1, 2] fcn[1, 2] Cheers, Bill Marks