FT_DOSVER

FT_DOSVER
 Return the current DOS major and minor version as a string
------------------------------------------------------------------------------

 Syntax

      FT_DOSVER() -> <cVersion>

 Arguments

     None

 Returns

     A character string with the major version number first, a
     period ("."), then the minor version number (e.g., "3.30")

 Description

     FT_DOSVER() invokes DOS interrupt 21h, service 30 in order to
     return the current DOS version.  It does this by setting up
     an array corresponding to machine registers and then calling
     the toolkit function FT_INT86().

     It returns a character string corresponding to the DOS
     version, as follows:  The major version, a period ("."), then
     the minor version.

 Examples

      FUNCTION main()
      RETURN QOut( "Dos version: " + FT_DOSVER() )

 Source: DOSVER.PRG

 Author: Glenn Scott