Units initialization/finalization support added

This commit is contained in:
2020-06-07 19:39:30 +03:00
parent 92d967d122
commit bf2e9bcc4b
9 changed files with 104 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ var
Pos: LongWord;
begin
ConsoleInit('Read Folder');
InitConsole('Read Folder', False);
if ReadFolder(FolderPath, FolderInformation, 0, 0, 0, BlocksRead) = 0 then
with FolderInformation do
@@ -53,6 +53,4 @@ begin
Write(#10);
Inc(Pos);
end;
ConsoleExit(False);
end.