MathGroup Archive 1997

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

Search the Archive

pattern test and default value

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

Hi,

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?

Regards,

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