GM: file text open append
From GMpedia.org Wiki
- The correct title of this article is file_text_open_append(fname). It appears incorrectly here because of technical restrictions.
- The correct title of this article is file_text_open_append(). It appears incorrectly here because of technical restrictions.
Arguments
fname = the name of the file you want to open including the directory.
Limitations
none
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
This will open a file so you can write from Game Maker into it. It returns the id of the file you opened so whenever you try to write to it, you use this id. You have to include the directory of the file you want to open but you can use the variables working_directory for the folder where the game is being run from or temp_directory for the temp folder (if you included files and extracted them to there). This will add on to the end of a file when you write to it instead of erasing the file like file_text_open_write.
This article was originally found at the Game Maker Knowledge Base, contributed by Ari.
See the talk page for details
See the talk page for details

