Re: Re: How do I create a cell or "Dialog Box" that simply states a control loop status?
- To: mathgroup at smc.vnet.net
- Subject: [mg9893] Re: [mg9879] Re: [mg9860] How do I create a cell or "Dialog Box" that simply states a control loop status?
- From: Allan Hayes <hay at haystack.demon.co.uk>
- Date: Sun, 30 Nov 1997 20:16:42 -0500
- References: <199711290510.AAA16855@smc.vnet.net.> <199711300539.AAA21121@smc.vnet.net.>
- Sender: owner-wri-mathgroup at wolfram.com
In my pevious posting, please change Cell["", "Input"] to Cell["", "Input", CellTags -> "indexvalue"] -- Allan Hayes Mathematica Training and Consulting Leicester, UK hay at haystack.demon.co.uk http://www.haystack.demon.co.uk voice: +44 (0)116 271 4198 fax: +44 (0)116 271 4198 Allan Hayes wrote: > > jwelter at mindspring.com wrote: > > > > I have a "For" loop that sometimes takes 30 min. to complete. > > > > How do I create a cell whose contents refreshes itself with the current > > value of the index variable? > > Make a text cell with tag indexvalue (menu Find> Add/Remove Cell Tags > or use the following cell expression) > > Cell["", "Input"] > > Modify your For loop as follows: > > NotebookLocate["indexvalue"]; > SelectionMove[ EvaluationNotebook,All,CellContents]; > > For[i=1,i<100,NotebookWrite[EvaluationNotebook,i,All];i++] > > -- > Allan Hayes > Mathematica Training and Consulting > Leicester, UK > hay at haystack.demon.co.uk > http://www.haystack.demon.co.uk > voice: +44 (0)116 271 4198 > fax: +44 (0)116 271 4198
- References:
- How do I create a cell or "Dialog Box" that simply states a control loop status?
- From: jwelter@mindspring.com
- Re: How do I create a cell or "Dialog Box" that simply states a control loop status?
- From: Allan Hayes <hay@haystack.demon.co.uk>
- How do I create a cell or "Dialog Box" that simply states a control loop status?