Difference between revisions of "GETENV()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to get environment information
 
Function to get environment information
 
  
 
==Syntax==
 
==Syntax==
 
GETENV(<expC>)
 
GETENV(<expC>)
 
  
 
==See Also==
 
==See Also==
[[ACCESS()]], [[ADDBS()]], [[GETGID()]], [[GETLOG()]], [[GETPID()]], [[GETUID()]], [[HOME()]], [[:Category:Printing|Printing]], [[PUTENV()]], [[PUTLOG()]]
+
[[ACCESS()]], [[ADDBS()]], [[GETGID()]], [[GETLOG()]], [[GETPID()]], [[GETUID()]], [[HOME()]], [[PUTENV()]], [[PUTLOG()]]
 
+
  
 
==Description==
 
==Description==
The GETENV() function returns the value of the environment variable <expC>. Its main purpose is to pass information into Recital (e.g. from DCL command procedures, or UNIX/Linux shell scripts).  In UNIX, Linux and Windows it returns the value of an environment variable.  In OpenVMS, it returns the value of a DCL symbol.
+
The GETENV() function returns the value of the environment variable <expC>.
 
+
  
 
==Example==
 
==Example==
Line 21: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Environment]]
 
[[Category:Environment]]
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]

Revision as of 11:23, 10 February 2012

Purpose

Function to get environment information

Syntax

GETENV(<expC>)

See Also

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

Description

The GETENV() function returns the value of the environment variable <expC>.

Example

? getenv("APP_FILE")
/usr/recital/patrons.dbf