MathGroup Archive 2010

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

Search the Archive

Table local

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113793] Table local
  • From: EF <he.frauendorfer at t-online.de>
  • Date: Sat, 13 Nov 2010 00:58:41 -0500 (EST)

"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: Constructing matrix out of submatrices
  • Next by Date: Re: Tensor Contraction
  • Previous by thread: Re: sieving out selected multiples
  • Next by thread: Re: Table local