Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> error 05 right paren ) was expected pp 321</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 05                Right Paren ) was Expected                   pp 321

 Source:  Compiler

 Cause:   Right parenthesis missing from declaration or statement.

 Remedy:  Check for missing or mismatched parenthesis.
          Left and Right Paren counts must match in a statement.


 ----------------------------------------------------------------------------


 Example:
       Procedure Missing (Var A,B:Integer     ; { Wrong   }
          Begin
          End                                 ;

       Procedure Missing (Var A,B:Integer)    ; { Correct }
          Begin
          End                                 ;

       BEGIN
          WriteLn ('Missing'                  ' { Wrong   }
          WriteLn ('Correct')                 ; { Correct }

          WriteLn ('Mismatched', (Abs (-44))  ; { Wrong   }
          WriteLn ('Correct   ', (Abs (-44))) ; { Correct }
       END.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson