Next Prev Up Top Contents Index

software-version

Function
Summary

Identifies the version of the Operating System.

Package

common-lisp

Signature

software-version => description

Values

description

A string or nil .

Description

The function software-version returns a string giving the version of the Operating System, or nil if this cannot be determined.

On MS Windows systems, description begins with the specific Operating System. This is "Windows 95" , "Windows 98" , "Windows Millennium" , "Windows 2000" , "Windows NT" or "Windows" (the latter if it is not one of the previous five). This is followed by the version numbers (Major.Minor), build and optionally service pack.

Example
(software-version)
=>
"Windows NT: 4.0 (build 1381) Service Pack 6" 
(software-version)
=>
"Windows Millennium: 4.90 (build 3000)" 
See also

software-type


LispWorks Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index