Results 1 to 3 of 3

Thread: GetDebuglines

  1. #1
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default GetDebuglines

    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;

  2. #2
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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?

  3. #3
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Fixed the function... gave out of range errors

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •