Posts: 75
Threads: 22
Joined: Jan 2010
Hello,
I know that you are all playing with the Prime. As usual I am a step behind and still playing with my (real) hp39gii.
I wrote a simple program that creates, for each loop iteration, a number and display it via the 'print' command. When the program ends the stack is empty.
If i run the same program twice, i can still see the results of the first run of the program and the new ones. It seems it is a kind of stack which is different from the one available for calculation which is not cleared at each program run and cannot be cleared via the 'rect()' command like a grob.
If i switch off the calc, this stack is empty like a kind of garbage collection.
Any idea of the command i can use to clear the stack?
It is possible i didn't install last firmware so please apologize for not being up to date.
Thanks
Giancarlo from Italy (training for the prime)
Posts: 190
Threads: 82
Joined: Aug 2012
Hello, to clear the terminal, just add PRINT;
Posts: 1,278
Threads: 44
Joined: Jul 2007
Print () in a program to clear.
It is a basic output terminal. On-T together brings it up or down, and bksp clears it.
TW
Posts: 75
Threads: 22
Joined: Jan 2010
Hello,
Thank you very much. Unfortunately the 'print()' command without argument(s) doesn't work on my calc. I think it is a matter of firmware.
Would you mind telling me where i could find the last 39gii firmware?
Thanks
Giancarlo
Posts: 190
Threads: 82
Joined: Aug 2012
Read my post : PRINT; without the () works ;)
Posts: 75
Threads: 22
Joined: Jan 2010
No way. As soon as i write PRINT(); or PRINT; in my program, i got a sintax error. If i comment the line (inserting a double slash // before the print command), the program run flawlessly...
Any idea?
Thanks
Giancarlo
Posts: 468
Threads: 17
Joined: May 2011
You should update you calc.
Both PRINT and PRINT() works for me
Edited: 18 Aug 2013, 7:21 a.m.
Posts: 190
Threads: 82
Joined: Aug 2012
Firmware 1.3 sept 2012 : here