[fpc-pascal]inputs, differents between DOS and Linux

Jonas jonas at zeus.rug.ac.be
Tue Mar 20 10:17:45 CET 2001


On Tuesday, March 20, 2001, at 08:55 AM, stefan wrote:

> i have a problem with some inputs under fpc. 
> I wrote the programs how under Turbo Pascal (Dos), but i do not know, 
> why the inputs can not be modified. 
> Here is one example: 
>  
> program test123; 
>  
> uses crt; 
>  
> var name    : string[20]; 
> Begin 
>  
> gotoxy(3,3);writeln('Please enter your name: '); 
> gotoxy(30,3);readln(name); 
>  
> ..... 
> end; 
>  
> If i put in the name, i have to do it very correctly, because i cannot 
> use the key how BACKSPACE or DELETE to modify a sign. 

Under which OS are you working and what version of the compile do you use? This was afaik only a problem under Linux when using version 1.0.2 or earlier and was fixed in 1.0.4.


Jonas




More information about the fpc-pascal mailing list