my code is this:
procedure TForm1.Beregn(var Vinner: array of TKort);
dosomething with Vinner;
I call this metdhod this way:
Vinner: array of TKort;
Continue with my Vinner array that has been changed inside Beregn-method.
But the thing is... I get an error everytime i try to call the SetLength method inside the Beregn method. Incompatible types, it says. Then I thought... is this a pointer-issue?