Hello, I am wondering if I could fill a table with references. I am not good at asking questions and giving good detail so I will show an example and hopefully someone will understand me.
I want to set up a table that will display words but I have images for each letter so this table should read each letter individually. Each letter should be referenced by a number, ex: a = 0, b = 1, c = 2, etc… In this example I am wanting the table to store APPLE (0,15,15,11,4) and PEARS {15,4,0,17,18).
[blockcode]
local puzzles = {}
puzzles[1] = {{0,15,15,11,4},
{15,4,0,17,18},}
[/blockcode]
My question really is, how do I store a as 0 and p as 15 etc, but still being able to print the word?
I know this may be a little vague because I am very new but any questions I will be sure to answer to the best of my ability. Thanks in advance for any input! [import]uid: 50511 topic_id: 8818 reply_id: 308818[/import]