This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 227
Expand file tree
/
Copy pathbackScripts.lcdoc
More file actions
55 lines (39 loc) · 1.72 KB
/
backScripts.lcdoc
File metadata and controls
55 lines (39 loc) · 1.72 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
47
48
49
50
51
52
53
54
Name: backScripts
Type: function
Syntax: the backScripts
Syntax: backScripts()
Summary:
<return|Returns> a list of <object|objects> that have been inserted into
the <message path> after the <stack> the target <object(glossary)>
belongs to.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
put the backScripts
Example:
if the long ID of me is not among the lines of the backScripts then beep
Returns:
The <backScripts> function returns a list of the long ID property of all
objects that have been inserted into the back, one ID per line.
Description:
Use the <backScripts> function to find out which scripts receive
<message|messages> and function calls after the current <object>, the
<object|objects> that own the current <object>, and any stacks in
the <stacksInUse>.
A <script> inserted into the back with the <insert script> command
receives <message|messages> after all objects in the <message path>,
just before the application itself receives the <message>.
If more than one <object> is in the <backScripts>, their order in the
<message path> is the same as their order in the list. For example, the
first <object> in the <backScripts> receives <message|messages> before
the second <object>. This order is the reverse of the order in which
the objects were added with the <insert script> command.
References: backScript (glossary), behavior (property), call (command),
dispatch(command), frontScripts (function),
insert script (command), message (glossary),
message path (glossary), object (glossary),
pass (control structure), remove script (command),
return (glossary), script (glossary), send (command),
stacksInUse (property), start using (command)
Tags: objects, messages