I am amazed by the behaviour of the following bit of Maple (from maple 10), boiled down from a student project. Looks very buggish to me, but perhaps I am misunderstanding something. I'd be grateful for any comments. (I edited the first line in response to the comment immediately below _ had used ange brackets that were being interpreted as html.) v:=: B:=[0,0]: for i to 2 do v[1]:=i; v[2]:=i; B[i]:=v; end do: B; [Vector(2, {(1) = 2, (2) = 2}), Vector(2, {(1) = 2, (2) = 2})] Added later in the day: as a colleaugue points out, the problem arises presumably because the assignment B[i]:=v leaves B[i] pinting to v rather than the value of v at that time. But I am still baffled because, apart from anything else, if the two assignments v[1]:=i; v[2]:= i; are replaced by v=

Please Wait...