Posted 26 January 2014 - 08:44 AM
This is a basic problem. I know the answer is in "Read This Before Posting" thing, and I know the error. I just don't know how I made the error or how to fix it while keeping that line of code. Here's my code.
The error is on line 2. It's kind of been a short while since I've coded hence the mistake and my inability to find/fix it.
EDIT: Looked back on an older program and found the problem with this one. Now line 4 is attempt to call nil but I know how to fix that too. Sorry to waste the time of anybody who read this.
local monitor = peripheral.wrap("up")
monitor.clear()
monitor.setCursorPos(1,1)
monitor.print("Welcome to Apple's house!")
monitor.print("To do list: ")
monitor.print("1. Fuel for turtle.")
monitor.print("2. Basic power/machinery.")
The error is on line 2. It's kind of been a short while since I've coded hence the mistake and my inability to find/fix it.
EDIT: Looked back on an older program and found the problem with this one. Now line 4 is attempt to call nil but I know how to fix that too. Sorry to waste the time of anybody who read this.
Edited on 26 January 2014 - 07:47 AM