In connection with setting attributes on Arrays, as discussed here, I have run into a problem which boils down to the following: why does the code (which is only for test purposes)
p1 := proc(x,y)
   table(['x' = x,'y' = y])
end proc:
p2 := proc()
   local x,y;
   x,y := 1,2;
   table(['x' = x,'y' = y])
end proc:
p1(1,2);
p2();
produce two different outputs; the former, p1, evaluates 'x' and 'y', even though they are surrounded by unevaluation quotes, while the latter, p2, does not?

Please Wait...