swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

UTIL_GetEnv

 
 

Library: Utilities (OMUTIL legacy)
Include: omutil.xin
Return type: String

Returns: The value of an environment variable.


Declaration

define external stream function UTIL_GetEnv
     (  value string VarName  )


Purpose

This function is used to retrieve the value of an environment variable. If the environment variable is not set, UTIL_GetEnv returns a zero-length string.

Example:

  ; display the current path
  include "omutil.xin"
  process
     output "Path = " || UTIL_GetEnv("Path") || "%n"

        Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.0β Documentation Generated: September 16, 2008 at 1:39:16 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.