MathGroup Archive 1997

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

Search the Archive

pattern test and default value

  • To: mathgroup at
  • Subject: [mg5967] pattern test and default value
  • From: marliesb at (Marlies)
  • Date: Wed, 5 Feb 1997 21:12:11 -0500
  • Organization: University of Nijmegen, The Netherlands
  • Sender: owner-wri-mathgroup at


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