MathGroup Archive 2001

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

Search the Archive

Table/Evaluate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30627] Table/Evaluate
  • From: bernd at bio.vu.nl (Bernd Brandt)
  • Date: Fri, 31 Aug 2001 19:58:03 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear group,

With Table and Evaluate i found some things i did not expect.
I would like to know if someone understands this behaviour exemplified below.

Regards,
Bernd


p=10;

Table[Evaluate[p], {p, 4}]
{ 10, 10, 10}

Table[{Evaluate[p]}, {p, 4}]
{{1}, {2}, {3}, {4}}


Table[Evaluate[{p}], {p, 4}]
{{10}, {10}, {10}, {10}}

Table[Evaluate[{p}] // Flatten, {p, 4}]
{{1}, {2}, {3}, {4}}


  • Prev by Date: integer solutions
  • Next by Date: Font Kerning
  • Previous by thread: integer solutions
  • Next by thread: Font Kerning