The name a variable or object / class is something that appears in the ide environment but is lost in compilation, so in execution asking for a name makes no sense.
This is especially true for those variables that are indicated by reference.
You can achieve a similar thing with the Map though.
The name a variable or object / class is something that appears in the ide environment but is lost in compilation, so in execution asking for a name makes no sense.
This is especially true for those variables that are indicated by reference.
You can achieve a similar thing with the Map though.
Dim Name As String = "MyList"
Dim MyList As List
MyList.Initialize
Dim NameList As Map = CreateMap(Name : MyList)
NameList.Get(Name).As(List).AddAll(Array As Int(1, 2, 3, 4, 5))
Log(NameList.Get(Name))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.