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