MathGroup Archive 2010

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

Search the Archive

Re: Function argument types

On 10/6/2010 2:16 AM, Sam Takoy wrote:
> Hi,
> I can't see to find the answer to this basic question:
> What's the difference between
> f[n_?Integer]:=
> and
> f[n_Integer]:=
> I would be happy to read more about this, but what's the keyword?
> Thanks,
> Pavel





and read up about the different symbols. In this case, the relevant 
things to look up is PatternTest and Integer.

Carl Woll
Wolfram Research

  • Prev by Date: Superscripts in strings change color to gray
  • Next by Date: Re: used by LogLogPlot?
  • Previous by thread: Function argument types
  • Next by thread: Re: Function argument types