headache
#4
You should not check data == true, data is never true, data is a number. However, tonumber can return nil if the given argument is not a number. So what you should do is check for nil instead of true.
Reply
Thanks given by:


Messages In This Thread
headache - by Tim - 03-05-2011, 06:29 AM
RE: headache - by Revolucas - 03-05-2011, 06:54 AM
RE: headache - by Tim - 03-05-2011, 07:13 AM
RE: headache - by FakeTruth - 03-05-2011, 07:43 AM
RE: headache - by Tim - 03-05-2011, 08:29 AM



Users browsing this thread: 1 Guest(s)