|
Forum Index : Microcontroller and PC projects : Control-C types last line (number) executed?
| Author | Message | ||||
| k2backhoe Regular Member Joined: 04/12/2021 Location: United StatesPosts: 47 |
Perhaps there is a way to cause this in MMBasic and I just haven't found it. If not, it would be very useful in some future version if Matherp or others have time. When my program sits doing nothing and I hit ^C to regain control, it would be great for the interpreter to type either the line number, or the actual instruction last executed. Perhaps it could be read only variable like MM.LASTLINE? Many thanks in advance for any helpful advice or attention to this feature. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8298 |
Have you checked out the TRACE command? TRACE LIST nn lists the last nn line numbers executed. It shows the editor line numbers counting from the beginning of the program. The editor shows the current line number that the cursor is on, so it's easy to find the last line(s). Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| k2backhoe Regular Member Joined: 04/12/2021 Location: United StatesPosts: 47 |
Mixtel, thanks, that's exactly what I need. Another case of RTFM. I have grazed the 174 page manual, but I can see I need to go through it more carefully. My apologies for wasting folks time. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8298 |
No problem. :) There's a fair bit of manual for a small computer. lol Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |