DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:write_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
built_in:write_file [2015/03/04 17:25]
octazid [Description]
built_in:write_file [2015/04/18 09:50] (current)
octazid add encoding parameter
Line 9: Line 9:
 Use the option **"​Append"​** to append text to the file and the option **"​Ascii"​** can be used to write plain ascii files if required (the default is Unicode). Use the option **"​Append"​** to append text to the file and the option **"​Ascii"​** can be used to write plain ascii files if required (the default is Unicode).
  
-<​code>​ app.WriteFile( fileName, text, mode );</​code>​+<​code>​ app.WriteFile( fileName, text, mode, encoding ​);</​code>​
  
 See also [[built_in:​read_file|ReadFile]] See also [[built_in:​read_file|ReadFile]]
built_in/write_file.txt ยท Last modified: 2015/04/18 09:50 by octazid