From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Reports the major and minor version number of Xojo.
|result||Double||Constant indicating the major and minor version number.|
Version 20xx returns a number of the form 20xx.yy, where yy is the Release number.
You can use XojoVersion in an #if statement to determine whether a use is running a particular version of Xojo. Based on the result, you conditionally compile code that is available only for that version.
The following line displays the version of Xojo being used:
The following includes code only for applications built using Xojo version 2017 Release 1 or above.