<div class="meta" robots="noindex">

</div>

Method

# Xojo.System.Version

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2020r2. Please use `System.Version<system.version>` as a replacement.

</div>

## Description

Information about the current OS system <span class="title-ref">Version</span>.

## Notes

- Can compare against text numbers formatted as "Major.Minor.Patch".

``` xojo
If Xojo.System.Version >= "13.1" Then
```

- Automatically adds "0" to any missing segments. "13" is changed to "13.0.0" before the comparison is done.
- Use `Xojo.System.VersionData.ToText<xojo.system.versiondata.totext>` to display the OS <span class="title-ref">Version</span>.

## Compatibility

All project types on all supported operating systems.
