MathGroup Archive 2010

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

Search the Archive

Re: How to localize a symbol when using Manipulate?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112594] Re: How to localize a symbol when using Manipulate?
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Wed, 22 Sep 2010 01:56:45 -0400 (EDT)
  • Reply-to: nma at 12000.org


On 9/21/2010 4:12 PM, Nasser M. Abbasi wrote:

>
> To solve the above problem, typical solution is to pass the symbol name
> to be used. Example
>
> Manipulate[process[s, n], {n, 2, 10},
> Initialization :>
>      (process[s_, n_] := Module[{}, s^n])
> ]
>
> If you run the above, the result shown will be s$^2
>

Opps, typo, last line above should be

"If you run the above, the result shown will be s^2"

i.e. no $ sign

--Nasser



  • Prev by Date: How to deal with this message?
  • Next by Date: two questions about regression properties
  • Previous by thread: Re: How to deal with this message?
  • Next by thread: How to localize a symbol when using Manipulate?