swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
built-in variable  

UTIL_Env

 
 

Library: Utilities (OMUTIL) legacy library
Include: omutil.xin

Declaration

UTIL_Env


Purpose

UTIL_Env is a global shelf that is populated with the environment variables from the environment used to launch the program. Each environment variable name is stored as the key of a shelf item, and the environment variable value is stored as the value of that shelf item.

You must include the legacy System Utilities ("omutil.xin") to access the UTIL_Env shelf.

You can use UTIL_Env just like any other shelf. For instance, you can output the value of all of its keys and corresponding items like this:

  include "omutil.xin"
  process
    output "The Util_Env shelf contains the following keys and items: %n%n"
    repeat over UTIL_Env
     output "UTIL_Env{" 
        || key of UTIL_Env[#item] 
        || "} = " 
        || UTIL_Env[#item]
     output "%n"
    again

Note that while you can change items on the UTIL_Env shelf, this will not affect the environment used to launch applications using the system-call action.

        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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.