joaokennedy Posted February 27, 2015 Share Posted February 27, 2015 Hello I have some doubts related to FileFunctions: Local file if fileExists ("Arquivo.lua") then file = fileOpen ("Arquivo.lua") else file = fileCreate ("Arquivo.lua") end How do I every time some type an ex command: Saves the number 01, and retype replaces the 01 by 02 and so will always replacing the previous number by itself + 1 and then how do I save the file, tried read the Wiki but the translation I am very confusing to me. Thank you very much! Translate Google Tradutor Link to comment
Addlibs Posted February 27, 2015 Share Posted February 27, 2015 Save files with fileSave and/or fileFlush Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now