MathGroup Archive 2007

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

Search the Archive

Default value for Dynamic InputField


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: Minimizing Mathematica file size for source code control?
  • Next by Date: Multiple Constants
  • Previous by thread: Re: Minimizing Mathematica file size for source code control?
  • Next by thread: Re: Default value for Dynamic InputField