- Original Message -
From: "Florian Klaempfl" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Monday, June 20, 2005 7:37 PM
Subject: Re: [fpc-pascal] strange behaviour of readkey...or not
> Darius Blaszijk wrote:
>
> > Hi there,
> >
> >
Darius Blaszijk wrote:
> Hi there,
>
> I have a console app that reads keys being pressed and then does some
> action. In short it would be like this:
>
> repeat
> if fileage(myfile) <> imyfile then
> begin
> writeln('file changed');
> imyfile := fileage(myfile);
> end;
>
> ch :
Hi there,
I have a console app that reads keys being pressed and then does some
action. In short it would be like this:
repeat
if fileage(myfile) <> imyfile then
begin
writeln('file changed');
imyfile := fileage(myfile);
end;
ch := readkey;
until ch = 'q'
So what I want is that