Results 1 to 3 of 3

Thread: Progress Report Error Help Me ={

  1. #1
    Join Date
    Sep 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Progress Report Error Help Me ={

    Code:
          writeln('#### progress ####');
          writeln('#### time: ' + inttostr(h) + ':' + inttostr(m) + ':' + inttostr(s));
          writeln('#### loads: ' + inttostr(LoadsDone));
          writeln('#### total claymade: ' + inttostr(LoadsDone * 14 ));
          writeln('##################');
    What my script does makes clay into soft clay then as soon as the soft clay is made, I wanted to add this progress report but there's a problem hmm... Look at this code for one second help me I dont understand

    Code:
          LoadsDone:=+1;
    What I did was after I was done making soft clay i made it wait Wait(2000); then I added the LoadsDone:= thing but in progress report it wont show correctly =s Look here is the error that I get

    [code]
    #### progress ####
    #### time: 0:0:42
    #### loads: 1
    #### total claymade: 14
    ______________________
    Now After 2 inventories.. still 1 load and 14 clay :s
    ##################
    #### progress ####
    #### time: 0:1:20
    #### loads: 1
    #### total claymade: 14
    ##################

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

    Default

    Use LoadsDone := LoadsDone +1; or Inc(LoadsDone); instead of what you have.
    :-)

  3. #3
    Join Date
    Sep 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Method View Post
    Use LoadsDone := LoadsDone +1; or Inc(LoadsDone); instead of what you have.
    ah you saying for me to remove the

    Code:
    LoadsDone:=LoadsDone+1
    to what you said? :O will do and testing

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with Progress Report
    By Richard in forum OSR Help
    Replies: 4
    Last Post: 01-04-2008, 06:48 PM
  2. Best progress report?
    By Dangerous Garden Tools in forum News and General
    Replies: 12
    Last Post: 10-05-2007, 04:14 AM
  3. progress report:(
    By macromacro123 in forum OSR Help
    Replies: 0
    Last Post: 08-25-2007, 05:41 PM

Posting Permissions

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