MathGroup Archive 2007

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

Search the Archive

Re: Slots & Ampersands


On 3/19/07 at 5:53 AM, senra99 at yahoo.co.uk (Mr Ajit Sen) wrote:

>I've always regarded the Slot and Ampersand as being inseparable in
>Mathematica (the Laurel & Hardy of Mathematica?), and was surprised
>to find one of them absent
>in

>Plot[Sin[x], {x, 0, 2Pi}, ColorOutput -> (RGBColor[1, 0, 0]&)]

>Where is Laurel gone? Is he inside ColorOutput or RGBColor?

Neither. All that has been done here is define a function that
returns a constant color independent of any argument.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: simple sequence problem
  • Next by Date: Re: About TableForm
  • Previous by thread: Re: Slots & Ampersands
  • Next by thread: symmetric fourier integral problem