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!
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!