Closed Alexey-T closed 1 year ago
try Algo := FClass.Create; Algo.Update(@Test[0], 9); Res := Algo.Final; if Algo.Check = Res then Result := True; finally Algo.Free; end;
move line Algo:= BEFORE try, common practice, more correct.
Algo:=
try
you did it OK here
F := TBufferedFileStream.Create(Filename, fmOpenRead or fmShareDenyWrite); try Self.Update(F); finally F.Free; end;
Thank you, updated
move line
Algo:=
BEFOREtry
, common practice, more correct.