qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
EnvCount Function
  Summary Details Example                                   Back
 
  Returns
 
    Word    Number of variables defined in the DOS environment
 
  Description
 
    The EnvCount function returns the number of environment variables
    currently defined in the DOS environment.
 
    Examine a particular variable by passing its index to the EnvStr
    function. Examine the same variable by passing a string containing
    the variable name to the GetEnv function.
 
    Consult a DOS manual for further information about the DOS
    environment and the environment variables.