Re: . or : for namespace?

new topic     » goto parent     » topic index » view thread      » older message » newer message

> > > What does this mean? it really means <drum roll>  a . b:c
> > 
> > But what can that really mean? Does it mean that c is a constant in
> > namespace
> > b
> 
> It could be a constant or variable
> 
> > and a.b:c means the same as a[b:c] ?
> 
> Yes.

So what you mean is maybe sometime in the future, . can be used 
as a shorthand for [] ?

So we will be able to do 

a = {10,20,30}
a.2 = 50
print(a.3) 

?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu