Original Post
Is this possible
p : ^array[1..3] of integer;
Because someone said to me it could but it giver a compilererror when ik try.
thanx in advance
type
TBlah = array[1..3] of Integer;
var
p: ^TBlah;
var
j: Integer;
first, current: tWijzer;
begin
if (Length(edtString.text) > 0) then begin
New(first);
current := first;
current^.kar := edtString.text[1];
for j := 2 to Length(edtString.text) do begin
New(current^.next);
current := current^.next;
current^.kar := edtString.text[j];
end;
current^.next := nil;
end;
end;
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more