Help with pascal please!

Associate
Joined
6 Feb 2008
Posts
1,750
Ok, very old language I know but I am just playing around, if anyone can help I will be very grateful.

Ok, I want to repeat something over and over on the screen until the user presses a key on the keyboard. I understand that usually you would use the lines:

Repeat
...
Until Keypressed;

But the problem is, I want to store what key they actually press. How do I do this?

Thanks

Stewart.
 
Back
Top Bottom