Hi,
Is is possible to put some variables into a list that has the exact same variable name but different contents.
E.g.
Possible?
Is is possible to put some variables into a list that has the exact same variable name but different contents.
E.g.
Code:
#Persons list
list persons {}
#Person
set person(name) "Jack"
set person(lname) "Jackson"
#Add to list
lappend persons person
#Next person
set person(name) "John"
set person(lname) "Johnson"
#Add to list
lappend persons person