The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

Line number in Prime program listings
Message #1 Posted by Harold A Climer on 27 Oct 2013, 11:58 a.m.

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
Message #2 Posted by Les Koller on 27 Oct 2013, 12:30 p.m.,
in response to message #1 by Harold A Climer

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
Message #3 Posted by Patrice on 27 Oct 2013, 3:22 p.m.,
in response to message #2 by Les Koller

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
Message #4 Posted by Les Koller on 27 Oct 2013, 3:37 p.m.,
in response to message #3 by Patrice

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


[ Return to Index | Top of Index ]

Go back to the main exhibit hall