comp • gb • env

Env (gb)

This class is a virtual collection of strings containing the variables of the process environment.

This class is static.
This class acts like a
Returns the value of the named environment variable Key.
read
/
Sets the value of the environment variable named Key.
write
static array.
This class is
Enumerates all environment variables by name.
statically enumerable
with the FOR EACH keyword.

Static properties

Return the number of environment variables.
Count  

Examples

For Each Key As String In Application.Env
  Print Key & "=" & Application.Env[Key]
Next
LANGUAGE=en_GB.UTF-8
HOSTNAME=6d48d91e8b98
HOME=/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=en_GB.UTF-8
LC_ALL=en_GB.UTF-8
PWD=/
TZ=:/etc/localtime