Is it correct that the error messages written in the order of the varibles on the line the error message says.
For example, this first code error message says "compare nil with number" = function Main()
if nil<3 then
i = "yes"
end
end
[17:56] Syntax C:\ptokax03321\scripts\errorTest.lua:2: attempt to compare nil with number
but this second code says "compare number with nil" when you switch on the comparison in if = function Main()
if 3 i = "yes"
end
end
[17:57] Syntax C:\ptokax03321\scripts\errorTest.lua:2: attempt to compare number with nil
So am I right?
You are, I have seen this several times.