Begin Programming Logo
Home | KPL | Object Pascal | General Programming | Code Database | About Us
   
Errors
   
   

Syntax Errors

Syntax errors are often small errors where certain punctuation marks or words may
have been left out or improperly placed. Delphi and KPL both give
descriptive error messages so that it is easier to debug (fix) the program.

Logical Errors

These errors are harder to fix because they are not easily identified.
A logical error is an error in the logic of the program. This means that the program
has been coded in the wrong way and so does not produce the required outcome.

There are many ways to find logical errors. One is to use breakpoints to
try find exactly what goes wrong, but by far the best way to fix these types
of errors is to have a clear, well structured and well documented program.

   

Valid XHTML 1.0 Transitional Valid CSS!