Easy!
This key tester program actually worked! (works in v1.3 and even v1.2)
It also respected the dynamic Y pos thing I tried. So Small Basic even accepts math... I'm thinking of a calculator now.
No dependencies.
ID: HSKG394.000
Link: https://smallbasic.com/program/?HSKG394.000
This key tester program actually worked! (works in v1.3 and even v1.2)
It also respected the dynamic Y pos thing I tried. So Small Basic even accepts math... I'm thinking of a calculator now.
No dependencies.
ID: HSKG394.000
Link: https://smallbasic.com/program/?HSKG394.000
Code:
GraphicsWindow.Title = "Key Test"
GraphicsWindow.KeyDown = Onkey
y = 0
Sub Onkey
l = GraphicsWindow.LastKey
GraphicsWindow.DrawText(0,y,l)
y = y + 10
EndSub