forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildNumber.lcdoc
More file actions
47 lines (32 loc) · 1.27 KB
/
buildNumber.lcdoc
File metadata and controls
47 lines (32 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Name: buildNumber
Type: function
Syntax: the buildNumber
Syntax: buildNumber()
Summary:
<return|Returns> the build number of the LiveCode <engine>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
the buildNumber
Example:
if the buildNumber < 3 then
answer "This version is too early."
end if
Returns:
The <buildNumber> function <return|returns> an integer.
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 <standalone
application> may be different, even if the <version> function
<return|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>.
References: function (control structure), revAppVersion (function),
version (function), environment (function), platform (function),
systemVersion (function), QTVersion (function), application (glossary),
LiveCode (glossary), standalone application (glossary), return (glossary),
engine (glossary)