write_text.lua 181 B

123456
  1. print("creating a document named write.txt, writing something there, and closing this example")
  2. file_f=io.open("write.txt","w")
  3. file_f:write("Hello, World!!!")
  4. file_f:close()