Previous Topic Next topic Print topic


Semantic Errors

Semantic errors occur when the debugger cannot correctly interpret a command line because of an incorrect variable name, an invalid argument, or some similar problem. With some semantic errors, the command line is echoed and a caret ( ^ ) is placed under it indicating the approximate location of the error. Two samples are shown from the command-line interface, as follows:

CodeWatch> EVALUATE ths_prime
**Error** Undefined variable or built-in function 
EVALUATE ths_prime
                  ^
CodeWatch> BREAKPOINT 100000
**Error**   Statement 100000 not found in procedure
Previous Topic Next topic Print topic