This shows you the differences between two versions of the page.
built_in:read_file [2015/10/14 23:47] 49.227.173.17 [Options] |
built_in:read_file [2015/10/15 07:54] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====ReadFile===== | ||
- | // | ||
- | |||
- | ====Description==== | ||
- | |||
- | The **ReadFile** method reads a text file from internal or external file storage. | ||
- | |||
- | < | ||
- | |||
- | See also [[built_in: | ||
- | |||
- | ---- | ||
- | |||
- | ====Example==== | ||
- | |||
- | <code javascript> | ||
- | |||
- | function OnStart() | ||
- | { | ||
- | txt = app.ReadFile( "/ | ||
- | app.ShowPopup( txt ); | ||
- | } | ||
- | |||
- | </ | ||
- | |||
- | ====Options==== | ||
- | |||
- | ^ Encoding-options | ||
- | | windows-1252 | ||
- | | ISO-8859-1 | | ||
- | | US-ASCII | | ||
- | | UTF-16 | | ||
- | | UTF-16BE | | ||
- | | UTF-16LE | | ||
- | | UTF-8 | | ||
- | |||
- | Information from: |