Difference between revisions of "GETENV()"

From Lianjapedia
Jump to: navigation, search
(Syntax)
Line 3: Line 3:
  
 
==Syntax==
 
==Syntax==
GETENV(<expC>)
+
GETENV(<expC> [,<cDefault>] )
  
 
==See Also==
 
==See Also==

Revision as of 03:58, 10 February 2023

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>.

Example

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