Name

Close Procedure

Syntax

procedure Close(var F: File);
procedure Close(var F: TextFile);

Description

Close exists for backward compatibility with Turbo Pascal and standard Pascal. New Delphi programs should call CloseFile to avoid conflicts with methods named Close. Close is not a real procedure.

See Also

CloseFile Procedure

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.