Microsoft Small Basic

Program Listing: HSKG394.000
GraphicsWindow.Title = "Key Test"
GraphicsWindow.KeyDown = Onkey
y = 0

Sub Onkey
l = GraphicsWindow.LastKey
GraphicsWindow.DrawText(0,y,l)
y = y + 10
EndSub