GM: file text read real

From GMpedia.org Wiki

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


Arguments

fileid = the id of the file returned by file_text_open_read

Limitations

none

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

Reads the value on 1 line of the file and returns the value. If using file_text_read_real then the value being read MUST be a number or an error will be returned.

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