[fpc-pascal] Is gotoxy in 3.2.4-rc2 broken ?

Marco van de Voort fpc at pascalprogramming.org
Sat Sep 12 17:59:45 CEST 2026


Op 12-9-2026 om 17:22 schreef Ched via fpc-pascal:
>
>
> win11 64 bits for intel processors (I use i386-win32 variant).
>
> For what I see, the contenet of the writing on the screen is correct, 
> but locations are wrong like if gotoxy does strincly nothing. The 
> behavor with 3.2.2 if perfect.
>
> crt comes in first place of the list of units.
>
I played a bit with the below program.  It seems right to me.


uses crt;

var  i:integer;
begin
   gotoxy(1,1);
   for i:=1 to 8 do
     write('1234567890');
   for i:=1 to 20 do
     begin
       gotoxy(1,i);
       write(i);
     end;

   for i:= 11 to 15 do
     begin
       gotoxy(i,i);
       writeln('hello');
     end;
end.



More information about the fpc-pascal mailing list