Skip to main content
Inspiring
May 28, 2006
Question

syntax ":" and "/:"

  • May 28, 2006
  • 3 replies
  • 332 views
I have come across the following AS syntax:

a:count =0;
/:b = "0";

What ":" and "/:" might mean in that context?


This topic has been closed for replies.

3 replies

Inspiring
May 28, 2006
lookup "Using slash syntax" in the help

':' is the same as '.' and '/' the same as '_root'. There is also '..' that
is the same as '_parent'
--
Jeckyl


Inspiring
May 28, 2006
thanks


Inspiring
May 28, 2006
Wow, that is sooooo old. I can't really remember. I think they would be written like this now.

a.count=0;
/:b = "0";

So I think the colon means "in the scope of" and the slash means "_root"