MathGroup Archive 2011

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

Search the Archive

Re: Local Variables in Do[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116839] Re: Local Variables in Do[]
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Wed, 2 Mar 2011 04:33:24 -0500 (EST)

No; not true.

Bobby

On Tue, 01 Mar 2011 04:23:00 -0600, adamimos <ashai at caltech.edu> wrote:

> I hate to have such a newbie question, but I'm new to programming in  
> Mathematica. I have nested loops, and I'd like to change a global  
> variable inside of the loop. It seems that Mathematica makes all  
> variables defined inside of Do functions local, is this true?
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: problem to define a complex quantity
  • Next by Date: Re: Sorting a list of symbols
  • Previous by thread: Local Variables in Do[]
  • Next by thread: Re: Local Variables in Do[]