string :sysinfo-version
Returns the version of the Operating System the interpreter in running on.
On Linux, the result is obtained by executing uname -r
, so it will be something like 3.11.9
.
On Windows, the result produced by simply contatenating the Win32Platform, Win32MajorVersion and Win32MinorVersion variables. For example, this means that Windows 8 will return 2.6.2
, and Windows 98 will return 1.4.10
.
# Providing this info can prove unwise :writeln s'Linux kernel version: ' :sysinfo-version
wikipage modified on 2014/0601/2317