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 17 then is missing pp 17</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 17                      THEN is Missing                         pp 17

 Source:  Compiler

 Cause:   Then is missing from If/Then construct.

 Remedy:  Examine the statement(s) ahead of the error cursor, back to the
          start of the IF statment for the above condition.


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


 Example:
       BEGIN
          If (1+1) < (2+2) { Then }     { Wrong - 'THEN' is missing     }
             Begin
             WriteLn ('OK');
             End

          If (1+1) < (2+2) Tehn         { Wrong - 'THEN' is mis-spelled }
             Begin
             WriteLn ('OK');
             End
       END.

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