Back

ReadFile

The ReadFile method reads a text file from internal or external file storage.

 txt = app.ReadFile( fileName );

Example

function OnStart()
{
  txt = app.ReadFile( "/Sys/Html/Page.htm" );
  app.ShowPopup( txt );
}
  Copy   Copy All    Run