Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Optional

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33708] Re: Optional
  • From: "DrBob" <majort at cox-internet.com>
  • Date: Mon, 8 Apr 2002 03:04:43 -0400 (EDT)
  • Reply-to: <drbob at bigfoot.com>
  • Sender: owner-wri-mathgroup at wolfram.com

To unravel how this could be done with Optional and RepeatedNull seems
wasted effort to me.  Why not define the function this way:

 

ClearAll[f]

F[]:=f[{1}]

F[index:{_Integer.}]:=index

 


  • Prev by Date: Re: problems with ContourPlot
  • Next by Date: Default Output Format
  • Previous by thread: Optional
  • Next by thread: RE: Optional