Posted 27 June 2013 - 03:37 PM
I have a little problem with the read() command
For testing, I made this:
If I then type in 1, it says "No 1 isn't 1"
I have no idea why.
Could somebody help me here?
For testing, I made this:
print "1 = ?" --Answer is 1
input = read()
if input == 1 then
print "Yes"
else
print("No" .. input .. "isn't 1"
end
If I then type in 1, it says "No 1 isn't 1"
I have no idea why.
Could somebody help me here?