Usually there are three types of viruses in GW-BASIC, which are as follows:
Syntax error:
A Syntax Error occurs when the program violates one or more grammatical rules of the programming language.These errors are detected at the time ofcompiling of that program.
Logical error:
A Logical Error occurs when a program follows a wrong logic. The compiler or interpreter does not report any error mesage for a logical error. These are the most dificult errors to locate. The Logical Errors can be identified by looking at the wrong output of the program and throughly testing the program.
A Syntax Error occurs when the program violates one or more grammatical rules of the programming language.These errors are detected at the time ofcompiling of that program.
Logical error:
A Logical Error occurs when a program follows a wrong logic. The compiler or interpreter does not report any error mesage for a logical error. These are the most dificult errors to locate. The Logical Errors can be identified by looking at the wrong output of the program and throughly testing the program.
No comments:
Post a Comment