buildNumber

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the buildNumber
buildNumber()
Summary

Returns the build number of the LiveCode engine.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the buildNumber
if the buildNumber < 3 then
  answer "This version is too early."
end if
Values
NameTypeDescription
return

The buildNumber function returns an integer.

RelatedControl Structure: function
Glossary: application, LiveCode, standalone application, return, engine
Function: revAppVersion, version, environment, platform, systemVersion, QTVersion
Description

Use the buildNumber function to determine which engine version the application is using. This is useful to figure out, for example, whether a certain LiveCode feature is available.

The buildNumber of two copies of LiveCode or a standaloneapplication may be different, even if the version function returns the same number. This is because new builds of the same version may be released to provide fixes to specific problems.

When reporting a problem with LiveCode, please include the buildNumber and version of the application.