end if

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
end if
Summary

Ends an if control structure.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
end if
RelatedKeyword: then, end, else, control
Glossary: keyword, control structure
Control Structure: if, break
Description

Use the end if keyword to mark the end of an if control structure.

The end if keyword is used only with certain forms of the if control structure. If the entire if control structure is on one line, or if the else clause is on one line, the end if keyword is not used.

The end if keyword occurs on a line by itself.