Hello:
I was running a program with test output and saw an odd bug. I do not know that anything can be done about it, but heads up. I might have written this up before.
My monitor is running at 1024x768.
The program prints "processed" and then goes through a bunch of data. Every thousand rows processed, it ?? prints the number of rows so far.
Here is what happens on my system. When the printing gets to 12000, it does not fit on the line. "1200" is printed at the right and the remaining "0" is wrapped onto the next line. So far, so good. When the 13000 prints, it overwrites that "0" at the start of the line.
Here is a test program that replicates the problem (at least, on my system).
*** Start of Test Program *** * tmpscrn * Screen Experimentation * Last Modification: 2017-05-06
? "*** Execution begins." ? program() close all clear all
declare Sleep in win32api integer
*
? "processed" local i for i=1000 to 20000 step 1000 =Sleep(1000) ?? i
endfor
*
clear dlls "Sleep"
close all clear all ? "*** Execution ends." return *** End of Test Program ***
Sincerely,
Gene Wirchenko
It does look like a bug. Consider changing the font and/or size?
Fred
On Sat, May 6, 2017 at 11:48 AM, Gene Wirchenko genew@telus.net wrote:
Hello:
I was running a program with test output and saw an odd bug. I donot know that anything can be done about it, but heads up. I might have written this up before.
My monitor is running at 1024x768. The program prints "processed" and then goes through a bunch ofdata. Every thousand rows processed, it ?? prints the number of rows so far.
Here is what happens on my system. When the printing gets to 12000,it does not fit on the line. "1200" is printed at the right and the remaining "0" is wrapped onto the next line. So far, so good. When the 13000 prints, it overwrites that "0" at the start of the line.
Here is a test program that replicates the problem (at least, on mysystem).
*** Start of Test Program ***
tmpscrn
Screen Experimentation
Last Modification: 2017-05-06
? "*** Execution begins." ? program() close all clear all
declare Sleep in win32api integer
? "processed" local i for i=1000 to 20000 step 1000 =Sleep(1000) ?? i
endfor
clear dlls "Sleep"
close all clear all ? "*** Execution ends." return
*** End of Test Program ***
Sincerely,
Gene Wirchenko
[excessive quoting removed by server]
It also works correctly if your screen size is 1023 or 1032, not 1024-1031 (my system Courier New 10pt bold).
Fred
On Sat, May 6, 2017 at 11:48 AM, Gene Wirchenko genew@telus.net wrote:
Hello:
I was running a program with test output and saw an odd bug. I donot know that anything can be done about it, but heads up. I might have written this up before.
My monitor is running at 1024x768. The program prints "processed" and then goes through a bunch ofdata. Every thousand rows processed, it ?? prints the number of rows so far.
Here is what happens on my system. When the printing gets to 12000,it does not fit on the line. "1200" is printed at the right and the remaining "0" is wrapped onto the next line. So far, so good. When the 13000 prints, it overwrites that "0" at the start of the line.
Here is a test program that replicates the problem (at least, on mysystem).
*** Start of Test Program ***
tmpscrn
Screen Experimentation
Last Modification: 2017-05-06
? "*** Execution begins." ? program() close all clear all
declare Sleep in win32api integer
? "processed" local i for i=1000 to 20000 step 1000 =Sleep(1000) ?? i
endfor
clear dlls "Sleep"
close all clear all ? "*** Execution ends." return
*** End of Test Program ***
Sincerely,
Gene Wirchenko
[excessive quoting removed by server]