Jump to content
  • entries
    43
  • comments
    34
  • views
    65,175

Use a better text editor when programming.


frankodragon

1,626 views

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:

blogentry-18158-0-47915600-1412558582_thumb.jpg

 

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.

 

 

 

 

 

 

 

 

  • Like 1

3 Comments


Recommended Comments

I've been using Notepad++ since March of 2014. I love the built-in spell checker that works like the Firefox spell checker. I also love how you can use it to search text files for a word or phrase. It has more than that to love about it, but those are my two favorite things.

Link to comment

Ctrl-G in the original Notepad will go to a line number. You can also turn on the status line which will show the line & character numbers. (Note: these features don't work if you have word wrap enabled.)

Link to comment

FYI - as part of my jEdit project I plan to create some mode files for Atari 7800 assembly and 7800basic.

 

Basically you'll get

  • colorized keywords
  • ability to clearly see graphics within binary data
  • compile from jEdit
  • launch your emulator from jEdit

You can see examples of how that works over in this topic of the 2600 programming forum.

  • Like 1
Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...