Monday, September 5, 2011

[Research] Visual Basic - Debugging (Types of Errors)

There are 3 types of Programming errors;
Syntax - Literally the user writing bad code, or code the compiler does not understand. An example of this is that you cannot write a Procedure block within a Namespace block.
Run-Time - Errors that appear as the program runs, due to errors that were not picked up by syntax, eg giving a function bad parameters.
Logic - These are not "Errors" that the compiler throws, rather, unwanted output. Eg, dividing a rectangle's width by height to get area instead of multiplying them.

The Error List window displays Syntax errors.

No comments:

Post a Comment