Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_dosvers()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_DOSVERS()


Syntax:        L_DOSVERS()


Purpose:       To determine the version number of MS-DOS or PC-DOS in
               use.


Arguments:     None.


Returns:       An integer representing the MS-DOS or PC-DOS version
               number


Usage:         Determining the DOS version number offers a guide to
               determining the number of files which may be usable by
               an application.


Examples:      * Determine DOS version no.
               version = L_DOSVERS()
               minor = INT(version / 256)
               major = version-int(minor * 256)
               ? val(str(major,4)+"."+str(minor,2))    && Result: 3.3


Language:      Assembler

See Also: L_EMMVERS()

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