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

index expected, got nil

Started by Will11690, 25 April 2015 - 09:19 PM
Will11690 #1
Posted 25 April 2015 - 11:19 PM
I need some help fixing a program or two(not sure which one the error is in).

the code can be found here(file name is button)
http://pastebin.com/jzLzZJ5g

and here(file name is frame2)
http://pastebin.com/MmsEayu6
HPWebcamAble #2
Posted 26 April 2015 - 01:11 AM
Make sure to do 'os.loadAPI("button")' somewhere in your frame2 program



If that's not it, can you post the exact error? It has the file name and the line number
Edited on 25 April 2015 - 11:12 PM
Will11690 #3
Posted 26 April 2015 - 01:17 AM
I fixed it already lol, i forget to change the computer ID's in the other programs. It was throwing an error on line 14 but that wasn't the problem. Anyway I made another post that has the current problem.