systemVersion | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the version number of the operating system. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android, web | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: string Function: environment, buildNumber, libURLVersion, QTVersion Glossary: return Control Structure: function | ||||||
Description | Use the systemVersion function to determine whether the current version of the operating system supports a particular feature. The exact format of the systemVersion varies, depending on the operating system. On Mac OS X systems, the systemVersion returns three integers separated by decimal points. For example, on Mac OS X "El Capitan", the systemVersion returns "10.11.0". On Windows systems, the systemVersion returns the internal Windows version designation. The internal designations for several Windows versions are as follows:
On iOS the systemVersion will return the iOS version number. For example, if the device has iOS 4.3 installed, this property returns "4.3" ; if the device has iOS 3.1.3 installed, this property will return "3.1.3". On Android the systemVersion will return the Android OS version number. For example, if the device has Android 2.2 installed, this property returns "2.2" ; if the device has Android 2.3.1 installed, this property will return "2.3.1". On Web the systemVersion is empty. |