Pushing the limits on the Terminal screen...
|
12-15-2016, 05:06 PM
(This post was last modified: 12-15-2016 05:23 PM by Spybot.)
Post: #1
|
|||
|
|||
Pushing the limits on the Terminal screen...
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! Spybot. |
|||
12-16-2016, 12:16 AM
(This post was last modified: 12-16-2016 12:24 AM by StephenG1CMZ.)
Post: #2
|
|||
|
|||
RE: Pushing the limits on the Terminal screen...
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. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
12-16-2016, 12:28 AM
Post: #3
|
|||
|
|||
RE: Pushing the limits on the Terminal screen...
Thanks StephenG1CMZ.
Yes appending an output to a note file sounds like a good idea. Spybot. |
|||
09-01-2019, 10:36 PM
Post: #4
|
|||
|
|||
RE: Pushing the limits on the Terminal screen...
Has this PRINT limit been updated?
How far back can the terminal screen now scroll? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)