Name

End Keyword

Syntax

asm Statements... end;
begin Statements... end;
case Expression of Case clauses... else Statements... end;
library Name; ... end.
package Name; requires Packages... contains Units... end.
program Name; ... end.
try Statements... except Exception clauses... else Statements... end;
try Statements... finally Statements... end;
type Name = class Declarations... end;
type Name = object Declarations... end;
type Name = record Declarations... end;
type Name = interface Declarations... end;
type Name = dispinterface Declarations... end;
unit Name; interface ... implementation ... end.

Description

The end keyword ends just about anything that has multiple parts: blocks, class declarations, case statements, and so on. See the description of each keyword for details.

See Also

Asm Keyword, Begin Keyword, Case Keyword, Class Keyword, Dispinterface Keyword, Interface Keyword, Library Keyword, Object Keyword, Package Directive, Program Keyword, Record Keyword, Try Keyword, Unit Keyword

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.