Skip to main content
GameDev.net gamedev.net
🔒 Locked

Lua BitOp test file causes exception?

Started by AverageJoeSSU Oct 5, 2010 at 12:29 AM 1 replies 1.2k views
Original Post
AverageJoeSSU
AverageJoeSSU
anyone else get this using the source?

bad argument #1 to '?' (number expected, got no value)

line 22 of the test file:

if pcall(f) or pcall(f, "z") or pcall(f, true) then

where f is the function "tobit"



------------------------------ redwoodpixel.com
AverageJoeSSU
AverageJoeSSU
yeah... i realized that might be a better place to ask such a detailed question.
------------------------------ redwoodpixel.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.