Environment VariableWindows and POSIX systems support the use of 'EnvironmentVariables', which are essentially string->string associative arrays. While these generally serve purpose in identifying 'homes' for things and lookup paths for dynamic libraries and such, they also offer an alternative vector for process and script parameters. For example, a whole panoply of EnvironmentVariables form the parameters for CGI, and 'CFLAGS' is a well known environment variable parameter to gcc.
The primary advantages over 'explicit' parameters (e.g. command-line options) are:
A nice way to handle this is ExplicitManagementOfImplicitContext.
See also ThreadLocalVariable
EditText of this page
(last edited March 27, 2011)
or FindPage with title or text search