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

 Source:  Compiler

 Cause:   Comma missing in declaration.

 Remedy:  Insert comma as required to separate identifiers.

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

 Example:
       TYPE
          Days : (Mon,Tue,Wed,Thu,Fri) ;

       BEGIN
          Assign (FileVar 'FileName.Ext) ;     { Wrong }
          WriteLn ('Number One = ' 1)    ;

          Assign (FileVar,'FileName.Ext) ;     { Correct }
          WriteLn ('Number One = ',1)    ;
       END.

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