Polley Posted June 30, 2017 Share Posted June 30, 2017 how to pack attempt to perform arithmetic on a nil value Link to comment
kikos500 Posted July 2, 2017 Share Posted July 2, 2017 Attempt to preform arthemic on a nil value is most likely because you are trying to do an arithmetic operation on a variable without a value without the code we can't really help you. Link to comment
qaisjp Posted July 2, 2017 Share Posted July 2, 2017 Please provide the code! Here are some situations where your error can occur: `tab[999] + 2` `tab[999]` does not exist, so evaluates to `nil` `nil + 2` causes the error `thing + 2` `thing` does not exist, so evaluates to `nil` `nil + 2` causes the error etc. Good luck Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now