Results 1 to 6 of 6

Thread: Please Help With my Proggy

  1. #1
    Join Date
    Aug 2009
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Please Help With my Proggy

    Well all i get when i run it is

    comma (',') expected

    And i am running this
    SCAR Code:
    Procedure Proggy;
    begin
    ClearDebug;
    Writeln('===================================');
    Writeln('===== Time Running : ' + TimeRunning);
    Writeln('===== Logs Cut     : ' + IntToStr(LogsCut);
    Writeln('===== Loads Done   : ' + IntToStr(LoadsDone);
    Writeln('===== This is Version  1.1');
    Writeln('===== Please Post This Proggy');
    Writeln('===================================');
    end;

  2. #2
    Join Date
    Aug 2009
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Writeln('===== Logs Cut     : ' + IntToStr(LogsCut);
    Writeln('===== Loads Done   : ' + IntToStr(LoadsDone);
    end;

    Need closing parenthesis on both of those lines.

  3. #3
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Writeln('===== Logs Cut : ' + IntToStr(LogsCut);
    Writeln('===== Loads Done : ' + IntToStr(LoadsDone);

    must be

    Writeln('===== Logs Cut : ' + IntToStr(LogsCut));
    Writeln('===== Loads Done : ' + IntToStr(LoadsDone));

    you forgot the ")".

    ~caused

  4. #4
    Join Date
    Aug 2009
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks How could i miss that
    Well thanks for the help

  5. #5
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    SCAR Code:
    Procedure Proggy;
    begin
    ClearDebug;
    Writeln('===================================');
    Writeln('===== Time Running : ' + (TimeRunning) + '');
    Writeln('===== Logs Cut     : ' + IntToStr(LogsCut) + '');
    Writeln('===== Loads Done   : ' + IntToStr(LoadsDone) + '');
    Writeln('===== This is Version  1.1') ;
    Writeln('===== Please Post This Proggy');
    Writeln('===================================');
    end;
    Jus' Lurkin'

  6. #6
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Yeah, you have to be careful about errors such as "Comma expected" or "Semi-colon expected" as a lot of the time, it's not a comma/semi-colon that is the error. You just have to watch for stuff like that.

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
  •