The second line shows the correct behaviour for the letter e. Am I doing something silly here ?
Code: Select all
screen:print(10,10,string.find("abcdef.","."),Color.new(255,255,255))
screen:print(10,20,string.find("abcdef.","e"),Color.new(255,255,255))
screen:flip()
screen.waitVblankStart()
pad = Controls.read()
while not pad:start() do
pad = Controls.read()
end
JC