Pushing the limits on the Terminal screen... - 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: Pushing the limits on the Terminal screen... (/thread-7429.html) |
Pushing the limits on the Terminal screen... - Spybot - 12-15-2016 05:06 PM Hello! I was trying to PRINT() a large amount of objects in the terminal screen... when I realized some of the objects were missing. So after a couple of tests I found out that the terminal screen is limited to show up to: 2040 chars, including line breaks. And that is why sometimes some numbers were missing! In the following code you are safe only up to n:=538; using a greater number you will start losing data. EXPORT test() BEGIN LOCAL a:=1,n; PRINT(); INPUT(n," ",{"#:"}); REPEAT PRINT(a); a:=a+1 UNTIL a=n+1; END; I don't know... if this is the way it is supposed to be? or it can be fixed on future releases. I thought terminal screen capacity was limited only by memory! RE: Pushing the limits on the Terminal screen... - StephenG1CMZ - 12-16-2016 12:16 AM The limit is a little less than 2K characters in a single PRINT. If you want to print more, you can do multiple PRINT's... I don't know how far back the terminal will scroll. http://www.hpmuseum.org/forum/thread-4692.html One workaround is to instead append the output to a Notes file. RE: Pushing the limits on the Terminal screen... - Spybot - 12-16-2016 12:28 AM Thanks StephenG1CMZ. Yes appending an output to a note file sounds like a good idea. RE: Pushing the limits on the Terminal screen... - StephenG1CMZ - 09-01-2019 10:36 PM Has this PRINT limit been updated? How far back can the terminal screen now scroll? |