' ----------------------------------
'  Buttons and Keys example
' ----------------------------------

Button 1 Text Function1
Button 2 Text Function2
Key 3 Gosub Open
Key 4 Gosub Close
Stop

Label Function1
	v1 = v1 + 1
	Print v1
Goto Function1

Label Function2
	v1 = v1 + 1000
Goto Function2

Label Open
	Slot 7 = 750
	Beep
Return

Label Close
	Slot 7 = 480
	Beep
Return


'WATCH v1
'EXEC Load "http://www.theremino.com"
