MathGroup Archive 2007

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

Search the Archive

Re: Default value for Dynamic InputField

  • To: mathgroup at
  • Subject: [mg83254] Re: [mg83209] Default value for Dynamic InputField
  • From: Syd Geraghty <sydgeraghty at>
  • Date: Fri, 16 Nov 2007 05:28:00 -0500 (EST)
  • References: <>


The colon you used is syntactically incorrect, try

InputField[Dynamic[R0, Initialization -> (R0 = 123)]]

and you get what I think you want.



Syd Geraghty B.Sc., M.Sc.
sydgeraghty at
San Jose, CA

My System

Mathematic 6.0.1 for Mac OS X x86 (32 - bit) (June 19, 2007)  License  
MacOS X V 10.4 .10
MacBook Pro 2.33 Ghz Intel Core 2 Duo  2GB RAM

On Nov 15, 2007, at 2:34 AM, robert prince-wright wrote:

> Can someone tell me how to set default values for Dynamic input  
> fields:  I have tried Initialization with no success.
> Here is the generic code:
>  InputField[ Dynamic[ R0] ]
>  The intent is to assign a default value to the symbol R0 so that  
> gets assigned each time the notebook is opened. The code below does  
> not work for me!
>  InputField[ Dynamic[ R0, Initialization:-> (R0=123)] ]
>  Thanks
> Robert

  • Prev by Date: Get list of function variables?
  • Next by Date: Re: Multiple Constants
  • Previous by thread: Default value for Dynamic InputField
  • Next by thread: Re: Default value for Dynamic InputField