Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
17
Task/Call-a-function/Lingo/call-a-function-10.lingo
Normal file
17
Task/Call-a-function/Lingo/call-a-function-10.lingo
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
on getAllUserFunctions ()
|
||||
res = []
|
||||
repeat with i = 1 to _movie.castlib.count
|
||||
c = _movie.castlib(i)
|
||||
repeat with j = 1 to c.member.count
|
||||
m = c.member[j]
|
||||
if m.type<>#script then next repeat
|
||||
if m.scripttype=#movie then
|
||||
functions = m.script.handlers()
|
||||
repeat with f in functions
|
||||
res.append(f)
|
||||
end repeat
|
||||
end if
|
||||
end repeat
|
||||
end repeat
|
||||
return res
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue