Lasse R.H. Nielsen atwork at infimum.dk
Sun Feb 22 03:56:19 PST 2009

On Sat, 21 Feb 2009 18:52:06 +0100, memolus at googlemail.com <memolus at googlemail.com> wrote:

> I'd like to use link(obj, target).
> E.g.
> a = 10;
> link(b, a);
> a++;
> b++;
> print(b);
> // output: 12

Here you are not linking properties of objects, or values at all, as your first post seemed to suggest.
Instead your are linking *variables* (aliasing). 

I.e, what you ask for is for link(b,a) to create a new variable, "b", aliasing the existing variable "a".
Is this correct?

Lasse R.H. Nielsen
'Faith without judgement merely degrades the spirit divine'

More information about the Es-discuss mailing list