This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
NumberBoxGamer's profile picture

Error code question

Started by NumberBoxGamer, 09 February 2013 - 03:11 PM
NumberBoxGamer #1
Posted 09 February 2013 - 04:11 PM
Title: Error code question

I am currently working on a touch screen program…. thing…. I keep receiving an error message that I can not find the source of. The error message goes as follows.

button:28:attempt to perform arithmetic __sub on number and nil

The code can be found here. I would post it in this message, but it is too long.

I would really like to receive a reply to this ASAP, but I understand if it is not possible.

Thanks,
numberboxgamer
NumberBoxGamer #2
Posted 09 February 2013 - 05:32 PM
This has been solved. It was a mix of a small spelling error, and an oddly placed parentheses.