HP Forums
Return to homescreen from PRINT Terminal - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Return to homescreen from PRINT Terminal (/thread-20073.html)



Return to homescreen from PRINT Terminal - matalog - 06-09-2023 10:27 PM

I have asked before about how to exit from the PRINT Terminal while a program is running, but I didn't get any answers.

Is there an instruction I can give the HP Prime, to make sure that the terminal is exited before the end of a program, so that the program is not left showing the terminal to the user when a program is finished?


RE: Return to homescreen from PRINT Terminal - thenozone - 06-09-2023 11:28 PM

Print with no arguments clears the terminal if that helps.


RE: Return to homescreen from PRINT Terminal - matalog - 06-09-2023 11:53 PM

(06-09-2023 11:28 PM)thenozone Wrote:  Print with no arguments clears the terminal if that helps.

Thanks, it doesn't bring the homescreen back.


RE: Return to homescreen from PRINT Terminal - matalog - 06-09-2023 11:59 PM

A DIMGROB_P(G9,320,240,RGB(255,255,255)); BLIT_P(G9,0,0,320,240,G0,0,0,320,240); at the beginning of the program with and PRINT() in between and BLIT_P(G0,0,0,320,240,G9,0,0,320,240); at the end.

Doesn't even bring the original screen back.

Is there no way to escape the Terminal?


RE: Return to homescreen from PRINT Terminal - Amer7 - 06-10-2023 07:19 AM

(06-09-2023 11:59 PM)matalog Wrote:  A DIMGROB_P(G9,320,240,RGB(255,255,255)); BLIT_P(G9,0,0,320,240,G0,0,0,320,240); at the beginning of the program with and PRINT() in between and BLIT_P(G0,0,0,320,240,G9,0,0,320,240); at the end.

Doesn't even bring the original screen back.

Is there no way to escape the Terminal?


Try to use WAIT(-1); ?
you can use 0, -1, 1
When you press a button or touch the screen it will return to home screen