Assignment



On Sun, Oct 30, 2011 at 09:46:26PM +0100, Adam Majewski wrote:
> I have made :
> 
> (%i4) L:([1,2,3],[4,5,6],[0,-1,-2]);
> (%o4)                            [0, - 1, - 2]
> 
> I do not know what happens here.
>

Hi,

it would be useful if you would also tell us what you
wanted to achieve.

Anyway:
 - everything in Maxima has a value
 - bracketing via "()" corresponds to creating compound
   statements in other languages, for example "{}" in
   C-like statements, except that no local variables
   are obtained
 - so (...) is just the list of expressions from left to
   right, with the last expression yielding the value
   of the whole expression.

Oliver