Returns the name and version number of the current operating system.

Syntax

OS( )

Description

Use OS( ) to determine the version of Windows in which dBASE Plus is running. OS( ) returns a character string like:

Windows NT version 4.00

with the name of the operating system, the word "version", and the version number.

Samples of what is returned by OS( ) include:

Windows 95  = "Windows version 4.00"
Windows 98  = "Windows version 4.10"
Windows ME  = "Windows version 4.90"
Windows NT3  = "Windows NT version 3.51"
Windows NT4  = "Windows NT version 4.00"
Windows 2000 = "Windows NT version 5.00"
Windows XP  = "Windows NT version 5.01"
Windows Vista = "Windows NT version 6.00"
Windows 7     = "Windows NT version 6.01"

Note

To determine which version of dBASE Plus is running, use VERSION( ).