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

util.environment

 
 

Library: Utilities (OMUTIL)
Import: omutil.xmd

Declaration

util.environment


Purpose

util.environment 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. If you have two or more environment variables with the same name, the last one will be used.

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

  import "omutil.xmd" prefixed by util.
  process
     repeat over util.environment
        output "util.environment{%"" 
            || key of util.environment
            || "%"} = " 
            || util.environment
            || "%n"
    again

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

        Other Library Functions
   util.environment
   util.millisecond-time
   util.omutil-version
   util.process-id
   util.sleep
   util.system-temporary-directory
 
 

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.