I\'m having an issue displaying the elements of an array in Lua programming language. Basically, i created an array with 3 elements, and i\'m trying to display its contents
What happens when you change your loop to this:
for i = 1, #myText do local myText = display.newText( myText[i], 0, 0, native.systemFont, 35 ) end
Or this:
for i, v in ipairs(myText) do local myText = display.newText( v, 0, 0, native.systemFont, 35 ) end