Posted 06 January 2013 - 10:09 AM
I'm assigning values to an array. However, my for loop doesn't seem to be working right.
I've tested my size variable. That's fine. I've also tried to use string.sub(text,o,o), but that gives me a similar error. However, I can assign it to a variable and print the variable. Any advice would be appreciated.
for o=1,size do
textTable[o] = string.sub(text,o,o)
end
I've tested my size variable. That's fine. I've also tried to use string.sub(text,o,o), but that gives me a similar error. However, I can assign it to a variable and print the variable. Any advice would be appreciated.