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

Ched charles.edouard.des.vastes.vignes at gmail.com
Sat Sep 12 22:06:19 CEST 2026


Dear All,

Maybe it's a/my beginner's bug : after cleaning all intermediate files (.o .ppu) all seem to be ok. On 
the first attempt, I asked for a compile build ; maybe some relicats somewhere ?

Sorry. _Thank you_ for this greaaaaat compiler !

Cheers, Ched'





Le 12.09.2026 à 15:59, Marco van de Voort via fpc-pascal a écrit :
> 
> 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.
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list