Previous Topic: curDir--Retrieves the Current Directory (Function)Next Topic: memoRead--Read a Text File Into a String (Function)


gete--Get Environment Variable (Function)

Retrieves the value of an environment variable. This function an alternative way of getting environment variables apart from the standard JavaScript environment variable.

The function has the following syntax:

gete(sVar)

This function returns a string holding the current value of the environment variable specified by sVar. If the variable does not exist, an empty string is returned.

sVar

Specifies the environment variable.

Example

Retrieve the current path setting:

? gete("PATH");

See also:

pute--Set an Environment Variable (Function)