Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Slots & Ampersands

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74413] Re: Slots & Ampersands
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Tue, 20 Mar 2007 05:53:42 -0500 (EST)

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