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))