Re: 3.0.3 - position()
Juergen Luethje wrote:
> Maybe this issue can be fixed in Eu 3.0.3?
I managed to reproduce this problem on windows98, by opening a dos prompt,
setting the number of lines to 43, and using exwc.
I recon the problem is that line 1419 in be_machine.c reads:
if (have_console) {
GetConsoleScreenBufferInfo(console_output, &info);
line_max = info.dwSize.Y;
col_max = info.dwSize.X;
}
else {
line_max = 25;
col_max = 80;
}
and line 3670 in be_machine.c reads:
if (line_val < 1 || line_val > line_max ||
col_val < 1 || col_val > col_max) {
sprintf(TempBuff,
"attempt to move cursor off the screen to line %d, column %d",
line_val, col_val);
RTFatal(TempBuff);
so is it not just a matter of re-setting line_max and re-doing the test in the
latter, in case have_console is now true?
Regards,
Pete
|
Not Categorized, Please Help
|
|