mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-10 07:45:05 -04:00
parent
a50b237734
commit
9a1923f7f4
@ -34,7 +34,7 @@ function print(...)
|
|||||||
local stdout = io.stdout
|
local stdout = io.stdout
|
||||||
local pre = ""
|
local pre = ""
|
||||||
for i = 1, args.n do
|
for i = 1, args.n do
|
||||||
stdout:write(pre, tostring(args[i]))
|
stdout:write(pre, assert(tostring(args[i]), "'tostring' must return a string to 'print'"))
|
||||||
pre = "\t"
|
pre = "\t"
|
||||||
end
|
end
|
||||||
stdout:write("\n")
|
stdout:write("\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user