namespace env
Provides access to the enviroment the script runs in
namespace contents
Functions
del
(string)
- Delete a value from the environment
read
(string)
- Read an environmental string
toArray
()
- Get a hash of key,value pairs from the environment
write
(string,string)
- Write an environment variable
Functions
function
del
Delete a value from the environment
Declaration:
function del( string key )
Parameters:
Parameter #1: string
key
- The value to delete
function
read
Read an environmental string
Declaration:
function read( string key )
Parameters:
Parameter #1: string
key
- The key to read from the environment, eg. HOME, USER
Returns:
The value of the environment variable key
function
toArray
Get a hash of key,value pairs from the environment
Declaration:
function toArray()
Returns:
An array of the environment
function
write
Write an environment variable
Declaration:
function write( string key, string value )
Parameters:
Parameter #1: string
key
- The key to write
Parameter #2: string
value
- The value to write to the key
Automatically generated at
12:08PM, Wednesday 25 May 2005
by
feritedoc
.