end

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
end
Summary

Marks the end of a handler.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
end thisFunction
RelatedKeyword: end switch, end try, end if, end repeat
Constant: EOF
Glossary: keyword, handler, control structure
Control Structure: pass, on, setProp, getProp, function
Description

Use the end keyword to end an on, function, getProp, or setProp control structure.

The last line of a handler of any kind always begins with the end keyword, followed by the name of the handler.