At 11:33 AM 29/11/2002 +0100, you wrote:
>Hi Slotman, you wrote:
>
>> At 11:39 AM 28/11/2002 +0100, you wrote:
>I know it, but it wait until a key is pressed. Not exactly like the basic
inkey$.
>I've tested it like this:
>
>repeat
>begin
>   c:=ord(inkey);
>   writeln(c);
>end;
>until c=13;
>

Just use it like this:

if keypressed then c:=ord(inkey);

and it will not wait for a keypress =)


Bye,



SLotman
MSX Files ( http://www.msxfiles.cjb.net )
Megaram Project ( http://megaram.msxfiles.cjb.net )
_______________________________________________
MSX mailing list ([EMAIL PROTECTED])
Info page: http://lists.stack.nl/mailman/listinfo/msx

Reply via email to