Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- OSLIB v1.05 - <b>ol_osvermaj()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 OL_OsVerMaj()
 Get the major version of the OS.
------------------------------------------------------------------------------

 Syntax

       OL_OsVerMaj() --> nVer

 Arguments

      None.

 Returns

      The major version of the operating system.

 Description

      OL_OsVerMaj() will return the major version number of the OS.

 Examples

      // Print the current Dos version.

      ? alltrim( str( OsVerMaj() ) ) + "." + alltrim( str( OsVerMin() ) )

 Source: DOSVER.C

 Author: Dave Pearson

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