Posted 14 September 2013 - 12:28 PM
Hello, i have the same problem but that didn't fix it, sadly.
This is a code for running the time over and over again on a monitor. As far is I know, there is no command to automatically show the time on the monitor so if you could solve that too, it would be great. Anyway, i'm getting the error:
:bios:383: [string "time"]:1: '<name>' expected
Heres the code:
function = T –Line 1 obviously
term.clear()
term.setCursorPos(1,1)
local time = os.time()
time = textutils.formatTime(time, false)
print("The time is "..time)
end
for T = 0, 9999999999999999999 do
function T
sleep(1)
end
Please help.
This is a code for running the time over and over again on a monitor. As far is I know, there is no command to automatically show the time on the monitor so if you could solve that too, it would be great. Anyway, i'm getting the error:
:bios:383: [string "time"]:1: '<name>' expected
Heres the code:
function = T –Line 1 obviously
term.clear()
term.setCursorPos(1,1)
local time = os.time()
time = textutils.formatTime(time, false)
print("The time is "..time)
end
for T = 0, 9999999999999999999 do
function T
sleep(1)
end
Please help.