MathGroup Archive 2006

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

Search the Archive

RE: Array


You need to Evaluate the left hand side, and generally also Clear A in
advance if you ever reevaluate.

Evaluate[Array[A, 3]] = {1, 2, 3};

{A[1], A[2], A[3]}
{1, 2, 3}

David Park
djmp at

From: Bruce Colletti [mailto:vze269bv at]
To: mathgroup at

The command:

   {A[1], A[2], A[3]} = {1, 2, 3}

assigns a value to each A-variable.  However, the command:

   Array[A,3] = {1,2,3}

generates an error message.

What is the difference between the two lines?



  • Prev by Date: Re: how to identify plane and measuring planar area
  • Next by Date: Re: Array
  • Previous by thread: Re: Array
  • Next by thread: Re: Array