Advertisement
Vladislav8653

Untitled

Jun 8th, 2023
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Function TrueCopy(BoolMatrix: TBoolMatrix): TBoolMatrix;
  2. Var
  3. I, J: Integer;
  4. Begin
  5. SetLength(Result, Length(BoolMatrix), Length(BoolMatrix[0]));
  6. For I := Low(BoolMatrix) to High(BoolMatrix) do
  7. For J := Low(BoolMatrix[I]) to High(BoolMatrix[I]) do
  8. Begin
  9. Result[I][J] := BoolMatrix[I][J];
  10. End;
  11. End;
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement