View Single Post
Old 05-23-2013, 02:23 PM   #10
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

Quote:
Originally Posted by Justin View Post
In the next build (4.5rc2), you will be able to use _global.* across instances, and regXX are mapped to _global.regXX.

You can also use the namespace facility with this, so you could do:
Code:
function inc() (
  this.value += 1;
);

_global.inc(); // _global.value += 1;
_global.boo.inc(); // _global.boo.value += 1;
Hmm, interesting... Cool, thanks.
Tale is offline   Reply With Quote