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

window:48:expected number

Started by graywolf69, 06 October 2014 - 11:39 PM
graywolf69 #1
Posted 07 October 2014 - 01:39 AM
Im getting this error when I start the program, it errors after it prints the first line. Here's the code, I have no idea what could be wrong, looked over millions of times, any ideas? Thanks!
Dog #2
Posted 07 October 2014 - 01:42 AM
On line 9 you have

term.setTextColor(colors.lightblue)

lightblue should be lightBlue - capitalization matters, so it should look like this

term.setTextColor(colors.lightBlue)
graywolf69 #3
Posted 07 October 2014 - 03:00 AM
Thanks