Hello Guest it is March 28, 2024, 06:46:52 AM

Author Topic: Lua file operations  (Read 2793 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Lua file operations
« Reply #10 on: April 08, 2018, 12:46:03 AM »
I would create a single string then write that single string to the file once. You're opening once and writing twice.

A perfectly working example can be found here.
http://www.machsupport.com/forum/index.php/topic,35896.msg245756.html#msg245756
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!