Use a better text editor when programming.
Nothing is more frustrating when you're making a game and you have to "find" the error when the compiler gives an "error" message. I used notepad to write code and now I wish I knew about other text editors which have number lines as references. So I downloaded an application called Notepad ++ which is free and has reference line numbers.
I had errors caused by misspelling, forgetting to add a "rem" to a line or even forgetting to add a colon. Using original notepad was a pain because trying to search for the error through a thousand lines of code was usually looking for a needle in a haystack.
Then using Notepad ++ was so much easier finding the error in a line of code. When compiling in 7800 Basic, you may get an error like this:
First look in the Command Prompt for the error. It will be a number in parenthesis followed by an "ERROR"
The error I made (which I put in there on purpose) was in line 1708; I forgot to add a remark.
If you're still using a text editor without reference numbers, do yourself a favor and get one that does. It will save you a headache.
- 1
3 Comments
Recommended Comments