Even if you want to access the bnid as a string it is still technically a table element.
EG.
Code:
tblName = {}
tblName.VarString is the same as tblName["VarString"]
tblName.subTblName = {}
tblName.subTblName.AnotherString
is the same as tblName.subTblName["AnotherString"]
and the same as tblName["subTblName"].AnotherString
and the same as tblName["subTblName]["AnotherString"]
As I found out myself recently while playing with tables :D
These can also be initialised straight off the bat as :
Code:
tblName = {
VarString = "...."
subTblName = {
AnotherString = "---"
}
}
In both situations each table of data has to be initialised before it can be used.