version

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the version
version()
Summary

Returns the application engine's version number.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put the version into field "Version" of me
set the itemDelimiter to "."
if item 1 of the version < 8 then
  answer "Widgets are not available"
end if
Values
NameTypeDescription
return

The version function returns a string describing the version of LiveCode running.

RelatedControl Structure: function
Glossary: application, standalone application, return, engine
Function: environment, libURLVersion, buildNumber
Description

Use the version function to determine whether the application supports a particular feature.

The version number belongs to either the LiveCode application (if the stack is being used with LiveCode) or to the running standalone application. The engine version of a standalone application|standalone is the same as the engine version of LiveCode that was used to create it.