GM: file text write string

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is file_text_write_real(fileid,str). It appears incorrectly here because of technical restrictions.
The correct title of this article is file_text_write_real(). It appears incorrectly here because of technical restrictions.


Arguments

fileid = the id of the file returned by file_text_open_write or file_text_open_append

str = the string to write to the file(this can be a variable or a string)

Limitations

none

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

This writes a string to the file after you opened it. You can write a variable to the file or a string.

This article was originally found at the Game Maker Knowledge Base, contributed by Ari.
See the talk page for details
Personal tools