GETENV()

From Lianjapedia
Revision as of 03:58, 10 February 2023 by Barrymavin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to get environment information

Syntax

GETENV(<expC> [,<cDefault>] )

See Also

ACCESS(), ADDBS(), GETGID(), GETPID(), GETUID(), HOME(), PUTENV()

Description

The GETENV() function returns the value of the environment variable <expC>. If the environment variable does not exist then the default <cDefault> is returned.

Example

? getenv("DB_DATADIR")
C:\lianja\data\