Control Structures

end

Supported By

Syntax

end structure

Description

The end keyword marks the end of an object type, on, function, repeat, if, switch, tell, or try structure.

Note

If an end statement is used outside its corresponding structure, a script error is triggered.

See Also

on, function, repeat, if, exit, pass