Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - parseenv() return an element of the master environment http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 parseenv()          Return an element of the master environment
------------------------------------------------------------------------------
 Declaration
   system.hdr

 Syntax
   func char parseenv extern
   param value uint uVariable

 Arguments
   uVariable is the order number of a DOS environmental setting.

 Return
   A character string containing the environment setting and its current
   value.

 Description
   This function returns a string which contains the definition of the given
   element in the master DOS environment.

 Example
   #define EXAMPLE_SYSTEM
   #include example.hdr

   proc Test_parseenv
   vardef
      uint i
   enddef
   for i := 1 to envcount()
      ? parseenv( i )       // get an environment string
   next
   endproc

   proc main
   Test_parseenv()
   endproc

See Also: envcount() envsize() getenv()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson