Alienhead
Newcomer
- Joined
- Mar 29, 2022
- Messages
- 5
- Reaction score
- 0
I'm trying to create a list of tables or a table label variable.
What is the format to do the following, and is it even possible.
I need to be able to index the table by the number but I also need multiple data per indexed entry.
I know both the above syntax do not work, but my question is - is there anyway or proper format to attempt to do what I've descibed above?
Thank you.
What is the format to do the following, and is it even possible.
Lua:
console = {}
console[1].data = "a string"
console.data[1] = "a string"
Lua:
console = {}
console[1].data = "a string"
console[1].data2 = "a string"
console.data[2] = "a string"
console[2].data2 = "a string"
Thank you.