std-sys-version


Synopsis

(std-sys-version) ; => list of OS features

Description

Returns a list of operating specific features. Currently only supported for MS Windows and DOS. Note that the AutoCAD platform string contains the similar information.

A list of 4 values:

Nt :
0 for Win3.x, Win32s
1 for Win95 or 98 or Millenium
2 for Windows NT or Windows 2000
-1 for DOS

WindowsMajorVersion:
a integer

WindowsMinorVersion
a integer

Build Number
a integer number or nil (on DOS)

A fifth integer value numbering the servicepack is currently not implement.

To be continued.

Arguments

None

Return Value

A list of four to five integers.

Side Effects

None

Module

Defined externally in STDLIB-ADS only