MathGroup Archive 1997

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

Search the Archive

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


  • Prev by Date: Re: Re: Trivial integral freezes 3.0
  • Previous by thread: Re: How do I create a cell or "Dialog Box" that simply states a control loop status?
  • Next by thread: 3D Arrows