User Tools

Site Tools


built_in:read_file

Differences

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

Link to this comparison view

built_in:read_file [2015/04/18 09:53]
octazid [Description]
built_in:read_file [2015/10/15 07:54]
Line 1: Line 1:
-=====ReadFile===== 
  
-//(Information and examples taken from the DroidScript documentation)// 
- 
-====Description==== 
- 
-The **ReadFile** method reads a text file from internal or external file storage. 
- 
-<code> txt = app.ReadFile( fileName, encoding );</code> 
- 
-See also [[built_in:write_file|WriteFile]] 
- 
----- 
- 
-====Example==== 
- 
-<code javascript> 
- 
-function OnStart() 
-{ 
-  txt = app.ReadFile( "/Sys/Html/Page.htm" ); 
-  app.ShowPopup( txt ); 
- 
- 
-</code> 
- 
-====Options==== 
- 
-^Options^ 
-|windows-1252| 
built_in/read_file.txt ยท Last modified: 2015/10/15 07:54 (external edit)