HP Forums
Line number in Prime program listings - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Line number in Prime program listings (/thread-254010.html)



Line number in Prime program listings - Harold A Climer - 10-27-2013

I know this might be old fashioned,but is it possible or possible in the future to have line numbers in program listings?
I use TRUE-BASIC, and it has the possibility to turn this feature on and off.
It sure makes debugging a program much easier.
I also know that GOTO statements are also frowned upon in programming circles too,but still.
It is really hard to find an errors' location with no line numbers.
Another idea,since we now have a color screen,why not highlight the syntax error in yellow.


Re: Line number in Prime program listings - Les Koller - 10-27-2013

Agreed! I spent SOME time trying to chase down "Error in line 113". What the heck is line 113? Or does the Prime have THIS feature too and I am unaware of it? Still using the emulator until funds arrive for the Hard copy. AND, we can all write w/o a goto, even if it is available, right?


Re: Line number in Prime program listings - Patrice - 10-27-2013

Quote:
Agreed! I spent SOME time trying to chase down "Error in line 113"

You got this message when you get out of program editor.

Just go back in program editor and Check (F5) the cursor move to the line with an error.


Re: Line number in Prime program listings - Les Koller - 10-27-2013

Thanks again. If I keep playing with this emulator, I will be a pro when the hardware gets here!