Hey,
I have the a table
tbl_Table[1].eng_letter_1 = ‘a’
tbl_Table[1].eng_letter_2 = ‘b’
tbl_Table[1].eng_letter_3 = ‘c’
tbl_Table[1].eng_letter_4 = ‘d’
How can I do the following
for k = 1,4 do
print (tbl_Table[1].eng_letter_…k)
end
My wish is to Print all 4 values but this is obviously wrong.
how can I concatenate the value of k to the table’s name?
Sorry for mentioning VBS but is there a lua equivalent to the vbs execute/Eval?
Thanks [import]uid: 43596 topic_id: 25546 reply_id: 325546[/import]