OC-PsychOS/modules/lib/print.lua

12 lines
212 B
Lua
Raw Normal View History

2017-07-30 19:12:10 +10:00
function write(...)
for k,v in ipairs({...}) do
event.push("display",os.getenv("sI"),tostring(v))
2017-07-30 19:12:10 +10:00
end
end
function print(...)
for k,v in ipairs({...}) do
write(tostring(v).."\n")
end
end
2017-08-01 23:59:29 +10:00
io.write = write