1st)
I want a controlled end of my program by polling EXIT key via GETK and jump to a label for clearing stack, flags, etc. How to get this? GETK delivers keycode 33 but also quits execution. I could press R/S, but ...
2nd)
I can switch to graphics mode 200*120 / 400*240 but can't switch back to alphanumeric / stack display. How to get this? I think addressing a virtual variable might do this but I can't find out how.
Two questions
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Two questions
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
Re: Two questions
KEY 9 GTO xx achieves this if you want to organise your program into a menu-driven structure.Krauts In Space wrote: ↑Tue Apr 24, 2018 11:52 am1st)
I want a controlled end of my program by polling EXIT key via GETK and jump to a label for clearing stack, flags, etc. How to get this? GETK delivers keycode 33 but also quits execution. I could press R/S, but ...
Not sure but I think EXITALL should achieve this. Give it a go. I don't have my DM42 to hand right now.Krauts In Space wrote: ↑Tue Apr 24, 2018 11:52 am2nd)
I can switch to graphics mode 200*120 / 400*240 but can't switch back to alphanumeric / stack display. How to get this? I think addressing a virtual variable might do this but I can't find out how.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Re: Two questions
As I'm using the whole keyboard for my program, no menus, this doesn't help me.grsbanks wrote: ↑Tue Apr 24, 2018 12:28 pmKEY 9 GTO xx achieves this if you want to organise your program into a menu-driven structure.Krauts In Space wrote: ↑Tue Apr 24, 2018 11:52 am1st)
I want a controlled end of my program by polling EXIT key via GETK and jump to a label for clearing stack, flags, etc. How to get this? GETK delivers keycode 33 but also quits execution. I could press R/S, but ...
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
-
- Posts: 1107
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Two questions
Then there is no help for you, I'm afraid. KEY GTO and KEY XEQ are the only ways to redefine EXIT, and pressing EXIT during GETKEY halts program execution, as you noticed. That's it, there are no other options.Krauts In Space wrote: ↑Tue Apr 24, 2018 1:27 pmAs I'm using the whole keyboard for my program, no menus, this doesn't help me.
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Re: Two questions
Hmmm ... to bad! :/Thomas Okken wrote: ↑Tue Apr 24, 2018 2:10 pmThen there is no help for you, I'm afraid. KEY GTO and KEY XEQ are the only ways to redefine EXIT, and pressing EXIT during GETKEY halts program execution, as you noticed. That's it, there are no other options.Krauts In Space wrote: ↑Tue Apr 24, 2018 1:27 pmAs I'm using the whole keyboard for my program, no menus, this doesn't help me.
Nevertheless thanks for you answers.
For my other problem, leaving graphic mode, I also found no solution.
If there's not clean way to leave it, maybe a future extension to GrMod, storing -1 for instance to come back to stack view, would be nice.
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
- PierreMengisen
- Posts: 306
- Joined: Wed Nov 29, 2017 1:38 pm
- Location: Neuchâtel CH
Re: Two questions
for the second question, try
" "
AVIEW
" "
AVIEW
Pierre
[TI59 with PC100C; TI-84 Plus CE-T; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
[TI59 with PC100C; TI-84 Plus CE-T; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
-
- Posts: 85
- Joined: Wed Jan 03, 2018 3:48 pm
- Location: Nuremberg, Germany
Re: Two questions
Hello Pierre,
thankyou for your advice but this also didn't work.
Gernot
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5
DM42 S/# 01015 FW v3.5
-
- Posts: 564
- Joined: Mon Apr 24, 2017 8:38 pm
Re: Two questions
Related to viewtopic.php?f=17&t=1863&p=8017#p7925 ?