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

UTIL_GetEnv

 
 

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

The value of an environment variable.


Declaration

  define external stream function UTIL_GetEnv
       (  value stream 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
   UTIL_Env
   UTIL_ExpRand
   UTIL_GetEnv
   UTIL_GetMilliSecondTimer
   UTIL_GetProcessId
   UTIL_IsVersionCompatible
   UTIL_LibraryVersion
   UTIL_Rand
   UTIL_Sleep
   UTIL_SortIntegersByKey
   UTIL_SortIntegersByValue
   UTIL_SortStreamsByKey
   UTIL_SortStreamsByValue
   UTIL_SortSwitchesByKey
   UTIL_Srand
   UTIL_UniformRand
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:58 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.