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
“...”