mirror of
https://github.com/CPunch/Cosmo.git
synced 2024-11-24 00:00:17 +00:00
6 lines
115 B
Plaintext
6 lines
115 B
Plaintext
|
local err, file = os.open("test.md", "w")
|
||
|
if err then
|
||
|
print("failed to open file")
|
||
|
end
|
||
|
|
||
|
file:write("hello world")
|