find_the_errors
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| find_the_errors [2019/08/21 12:39] – created frchris | find_the_errors [2019/08/21 12:52] (current) – frchris | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Any Errors? ====== | ||
| + | |||
| + | lexagraphical (spelling, or typos) can happen | ||
| + | < | ||
| + | trunLeft(); | ||
| + | tuneLeft(); | ||
| + | </ | ||
| + | |||
| + | syntax errors can happen | ||
| + | < | ||
| + | turnleft(); | ||
| + | turnLeft; | ||
| + | turnLeft() | ||
| + | </ | ||
| + | |||
| + | Errors in logic can happen - The code compiles, but it doesn' | ||
| + | if you run into a wall or pick up something that isn't there, or put down something you don't possess. | ||
| + | |||
| + | Consider the following: | ||
| + | |||
| {{:: | {{:: | ||
| + | |||
| + | It an be fixed by adding one method call. | ||
| + | |||
| + | Here is some code in need of debugging: | ||
| + | |||
| {{:: | {{:: | ||
find_the_errors.1566405582.txt.gz · Last modified: 2019/08/21 12:39 by frchris