I've got little problems with my code. You can check it here: http://pastebin.com/BmvfqQtC
Program was writed in Polish variable names, but i think it's not a problem to read it
Program correctly reads mouse position, but i think problem is in statement here:
if myszY == j and myszX <= textW then
opcje_wybr[j] = not opcje_wybr[j]
print("Wybrana opcja to opcja nr: "..j)
end
It's always false... It checks if mouse height is equals to option height, and if mouse width is smaller then option's name width. I think it's correct but it's always false... Why? Can you help me? If you don't understand something just ask 











