mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-08 23:06:58 -04:00
parent
a50b237734
commit
9a1923f7f4
@ -34,7 +34,7 @@ function print(...)
|
||||
local stdout = io.stdout
|
||||
local pre = ""
|
||||
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"
|
||||
end
|
||||
stdout:write("\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user