SCAR Code:Function GetDebuglines:Array of String;
var
I:Integer;
begin
SetArrayLength(Result, GetDebugLineCount)
For I:=0 to GetDebugLineCount-1 do
Result[I]:=GetDebugLine(I);
end;
SCAR Code:Function GetDebuglines:Array of String;
var
I:Integer;
begin
SetArrayLength(Result, GetDebugLineCount)
For I:=0 to GetDebugLineCount-1 do
Result[I]:=GetDebugLine(I);
end;
SCAR Code:Function GetDebuglines:Array of String;
var
I:Integer;
begin
For I:=0 to GetDebugLineCount do
Result[I]:=GetDebugLine(I); //not result[0]
end;
im guessing you meant this?
Fixed the function... gave out of range errors
There are currently 1 users browsing this thread. (0 members and 1 guests)