var/list/L = list(T1 = list(), T2 = list())
I know you can have list inside of a list, but I wanna know how you would access, the list inside.
Ex: Getting list T1 in list L
ID:159707
Jan 25 2009, 7:14 am
|
|
var/list/L = list(T1 = list(), T2 = list())
I know you can have list inside of a list, but I wanna know how you would access, the list inside. Ex: Getting list T1 in list L |
To make sure this is clear... note in your example code, T1 and T2 aren't new variable declarations or something. In order for that code to work they need to be vars (preferably containing distinct values) with those names, or they'll be invalid symbols.
As for getting the lists, it is like getting any other value, pretty much. var/list/Lists = list( list("apple") , list("box") ) |
L[T1[associated_value]]