namespace env

Provides access to the enviroment the script runs in

namespace attributes [NB. highlighted items are covered in other pages - namespaces or classes]
function toArray() - Get a hash of key,value pairs from the environment
function read() - Read an environmental string
function write() - Write an environment variable
function del() - Delete a value from the environment

Functions

function toArray Click to go up to the list
Get a hash of key,value pairs from the environment
Declaration:
    native function toArray()
Returns:
    An array of the environment

function read Click to go up to the list
Read an environmental string
Declaration:
    native 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 write Click to go up to the list
Write an environment variable
Declaration:
    native 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

function del Click to go up to the list
Delete a value from the environment
Declaration:
    native function del( string key )
Parameters:
    Parameter #1: string key - The value to delete

Automatically generated at 8:45pm, Wednesday 08 January 2003 by feritedoc.