Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

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 read / write static array.

This class is statically enumerable with the FOR EACH keyword.

Static properties
Count   Return the number of environment variables.
Max   Returns Env.Count - 1.

Static methods
Copy   Return a copy of the environment as a string array.

Examples

For Each Key as String in Application.Env
  Print Key & "=" & Application.Env[Key]
Next
LANGUAGE=en_GB.UTF-8
HOSTNAME=7d411291b4ae
HOME=/home/play
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