MathGroup Archive 2000

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

Search the Archive

Re: Default values / optional parameters


Hi,

can you post atleast one case in ASCII ?

Jens

Hermann Klocker wrote:
> 
> [Contact the author to obtain the notebook mentioned - moderator]
> 
> The sample notebook shows how two functions defined in a very similar
> manner behave differently when using optional parameters. Question: How
> can I define a function whose optional parameter is a pattern requiring
> a specific head and has a given default value? Help says this is x_h:v
> but my example says that this does not work in some cases.
>


  • Prev by Date: Sorting
  • Next by Date: Non-standard evaluation
  • Previous by thread: Default values / optional parameters
  • Next by thread: Re: Default values / optional parameters