MathGroup Archive 1997

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

Search the Archive

pattern test and default value


It is possible to do the following:

x_h:v (an expression with head h and default value v)

Can anyone tell me whether it is possible to have a pattern test like
_?NumberQ  AND have a certain default value?


Marlies Brinksma

  • Prev by Date: Re: Re: Put a list to a file
  • Next by Date: Re: Re: Re: Re EPS files produced by Mathematica 3.0
  • Previous by thread: Re: Running Mathematica under Win95
  • Next by thread: Re: pattern test and default value