Delphi-Quellcode:
function GetId(f: string; i: integer): string;
var
temp: string;
j: integer;
sl: TStrings;
begin
temp := '';
sl := TStrings.Create;
sl.LoadFromFile(f);
for j := 0 to 4 do begin
temp := temp + sl[0][(i * 6) + j];
end;
result := temp;
end;
ShowMessage(GetId('ids.txt', 0));
Warum kommt da n Abstrakter Fehler und was zur Hölle is des???