Cosmo/examples/writer.cosmo

6 lines
115 B
Plaintext
Raw Normal View History

local err, file = os.open("test.md", "w")
if err then
print("failed to open file")
end
file:write("hello world")