MathGroup Archive 2008

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

Search the Archive

Re: Manipulate question


Hi,

Manipulate[Dynamic[n = Max[n, 1]], {{n, 5}, 0, 10}]

??

Regards
   Jens

Mark Fisher wrote:
> Hi all,
> 
> In the following Slider code, n is contrained to be greater than or
> equal to 1:
> 
> Module[{n=5},
> Slider[Dynamic[n, (n = Max[#, 1]) &], {0, 10}]
> ]
> 
> I would have thought that in the following Manipulate code, n would
> again be constrained to be greater than or equal to 1, but it's not.
> Where is my thinking going wrong?
> 
> Manipulate[
>  Dynamic[n, (n = Max[#, 1]) &],
>  {{n, 5}, 0, 10}
>  ]
> 
> --Mark
> 


  • Prev by Date: Re: Hypergeometric2F1
  • Next by Date: 3D Graphics in a Palette or Dialog
  • Previous by thread: Manipulate question
  • Next by thread: Re: Manipulate question