Back

GetEnv

Hello World

Returns the value of an environment variable defined on the device.

app.GetEnv( name ) → string

Example - Show PATH environment variable

function OnStart()
{
    var envPath = app.GetEnv("PATH");
    app.Alert( envPath );
}
    Copy     Copy All       Run      
string: “PATH” or “...”