Posted 19 March 2012 - 11:47 PM
i want to emulate a power on self test (POST) on a computer and my code doesn't seem to be working. can you tell me where the error is?
Code:
And i get this error with the code:
bios:206: [String "post"]:20: unfinished string
Code:
term.clear()
term.setCursorPos(1, 1)
print("Power on self test started:")
sleep(1)
local function clearScreen()
print("Checking system..|")
sleep(1)
local function clearScreen()
print("Checking system../")
sleep(1)
local function clearScreen()
print("Checking system..--")
sleep(1)
local function clearScreen()
print("Checking system..")
sleep(1)
local function clearScreen()
print("Checking system..|")
sleep(1)
print("System..OK")
end
And i get this error with the code:
bios:206: [String "post"]:20: unfinished string