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 02 colon (:) was expected pp 321</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 02                 Colon (:) was Expected                      pp 321

 Source:  Compiler

 Cause:   Colon missing after VAR or FUNCTION declaration.

 Remedy:  Check declaration and add colon.

 Example:
       Function DUMMY   Real;        { Wrong }
          VAR
          IntVar   Integer  ;
             Begin
             End            ;

       Function DUMMY : Real;       { Correct }
          VAR
          IntVar : Integer  ;
             Begin
             End            ;

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