Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Table local

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113805] Re: Table local
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Sun, 14 Nov 2010 06:06:57 -0500 (EST)

Hi,

no, it means maybe more "localization of the iteration variables":

Clear[i];
Table[i = i^2, {i, 5}];
i

Cheers
Patrick


On Sat, 2010-11-13 at 00:58 -0500, EF wrote:
> "Help, More Information" for Table states:
> 
>   Table effectively uses Block to localize values or variables.
> 
>    But
>    Clear[u];
>    Table[u = i^2, {i, 5}];
>    u
> 
>    Clear[u];
>    Table[u = i^2;, {i, 5}];
>    u
> 
>    In both cases the value 25 for u is given.
>    If u were really local, it should have no value outside of the Table
> 
> 
>    For me there is a contradiction that can cause a lot of trouble
> 
> 
>    E. F.
> 



  • Prev by Date: Re: sieving out selected multiples
  • Next by Date: Re: Table local
  • Previous by thread: Re: Table local
  • Next by thread: Re: Table local