var s: Byte; f: file; begin AssignFile(f, 'C:\file.txt'); Reset(f, 1); BlockRead(f, s, 1); CloseFile(f); end;