Uses Crt to use Readkey function ----> compiler error
Posted: Sat Nov 04, 2006 6:26 am
Hello
I trying to use readkey but it always get compiler error on online-judge
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\PASCAL>fpc -dONLINE_JUDGE -Sd testasso.pas
Free Pascal Compiler version 2.0.4 [2006/08/21] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Win32 for i386
Compiling testasso.pas
Linking testasso.exe
49 Lines compiled, 1.2 sec
C:\PASCAL>
But as you can see there is no problem with compiling
Coundt I use readkey function using 'uses CRT' ??
How could I substitute readkey function for another?
please helpme
I trying to use readkey but it always get compiler error on online-judge
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\PASCAL>fpc -dONLINE_JUDGE -Sd testasso.pas
Free Pascal Compiler version 2.0.4 [2006/08/21] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Win32 for i386
Compiling testasso.pas
Linking testasso.exe
49 Lines compiled, 1.2 sec
C:\PASCAL>
But as you can see there is no problem with compiling
Coundt I use readkey function using 'uses CRT' ??
How could I substitute readkey function for another?
please helpme