Page 1 sur 1

Storage by reference, unquote( ) cmd

Publié : lun. déc. 24, 2018 2:05 am
par compsystems
Storage by reference, unquote( ) cmd

purge(b); a:=b; unquote(a):=3; [enter] returns (xcas online)
b -> 3, but the value of a, has not been assigned to 3

Re: Storage by reference, unquote( ) cmd

Publié : lun. déc. 24, 2018 5:58 pm
par parisse
That's precisely what is expected. b is assigned to 3, and a remains assigned to b (and evals to 3 in interactive mode).