Advertisement
WarPie90

Untitled

Mar 5th, 2017
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.18 KB | None | 0 0
  1. procedure Foo1(constref x:TIntegerArray);
  2. begin
  3.   x[1] := 3; //error, I can't do this.
  4. end;
  5.  
  6. procedure Foo2(x:TIntegerArray);
  7. begin
  8.   x[1] := 3; //I just modified the array
  9. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement