View Single Post
Old 05-23-2013, 01:12 PM   #9
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
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;
Awesome!
IXix is offline   Reply With Quote