Results 1 to 5 of 5

Thread: Progress reports

  1. #1
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Progress reports

    Where can I learn to add progress reports to Simba scripts?

    I have tried looking at scripts that contain progress reports for Simba and I am running across a lot of bitmaps were not freed and other errors. When trying to incorporate it into other scripts.

  2. #2
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    Simba Code:
    var
      tracker: Integer;

    procedure Proggy;
    begin
      Writeln('Times doing this thing = ' + IntToStr(tracker) + '.');
    end;

    begin
      proggy;
      repeat
        inc(tracker);
      until(tracker > 10);
      proggy;
    end.

    You basically keep a variable global and increment it when you track something.
    Then the progress report prints out what the variable kept is currently at.

  3. #3
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Now is that going to only show a progress report when it ends? or is it going to show it in the Smart window. Because I apologize for not specifying but I want the latter of the two.

  4. #4
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you core exactly what I was looking for.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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