revAppVersion

returns the version of the LiveCode application.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

revAppVersion()

# Examples

revAppVersion()

if revAppVersion() is not "1.0" then answer "Sorry, Charlie!"

# Description

Use the revAppVersion function if you need to check which version of the development environment is currently running.

The revAppVersion function is different from the version function. The revAppVersion function returns the version of the development environment, while the version function returns the version of the underlying engine. For example, the contents of the LiveCode menu bar, the LiveCode custom library, and the property inspector depend on the revAppVersion, but the features of the LiveCode language depend on the engine version.

>*Note:* In a standalone application the Common library is implemented > as a hidden group and made available when the group receives its > first openBackground message. During the first part of the > application startup process, before this message is > sent, the revAppVersion function is not yet available. This may > affect attempts to use this function in startup, preOpenStack, > openStack, or preOpenCard handlers in the main stack. > Once the application has finished starting up, the library is > available and the revAppVersion function can be used in any > handler.

# Tags

# See