To work with Close command
Description:
Closes an open file.
Declaration:
procedure Close(var F);
Example:
program Welcome;
var
a:file;
begin
Assign(a,'\AUTOEXEC>BAT');
Reset(a,1);
Writeln('File size= ',FileSize(a));
Close(a);
end.
Post a Comment
No comments:
Post a Comment