MathGroup Archive 2008

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

Search the Archive

Re: Manipulate question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93158] Re: Manipulate question
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 29 Oct 2008 05:49:35 -0500 (EST)
  • References: <ge6ne6$lh1$1@smc.vnet.net>

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