Difference between revisions of "GETENV()"

From Lianjapedia
Jump to: navigation, search
Line 13: Line 13:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
? getenv("APP_FILE")
+
? getenv("DB_DATADIR")
/usr/recital/patrons.dbf
+
C:\lianja\data\
 
</code>
 
</code>
  

Revision as of 13:32, 19 May 2014

Purpose

Function to get environment information

Syntax

GETENV(<expC>)

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\