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

3 responses to “FT_DOSVER

  1. Pingback: FT DOS/BIOS | Viva Clipper !

  2. Pingback: FT Functions | Viva Clipper !

  3. Pingback: FT DOS / BIOS | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.