Back

ReadFile

ReadFile.

  app.ReadFile( file, encoding )

Example - Example



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

string: path to file or folder ( "/absolute/..." or "relative/..." )
string: "utf-8" or "?"