Hi Slotman, you wrote:

> At 11:39 AM 28/11/2002 +0100, you wrote:
> >There is another way to handle keys instead of the keypressed 
> function ??
> >
> Check the msx.inc that comes with MSXPad -- there's a inkey function 
> at the
> end of the file which returns the char pressed, just like inkey$ 
> from basic
> 
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;

> >Thanx again.
> >mau_rizio
> >
> 
> Hope it helps,
MSXPad helps a lot, thank you for making it :)

Bye
Maurizio


_______________________________________________
MSX mailing list ([EMAIL PROTECTED])
Info page: http://lists.stack.nl/mailman/listinfo/msx

Reply via email to