
' Theremino Automation demo program

' Demonstrating IF, ELSE, ENDIF and system Beep

v1 = Slot(1)
v2 = Slot(2)

If v1 < 500
	Print "V1 is less than 500"
Else
	If v1 = 500
		Print "V1 is equal to 500"
	Else
		Print "V1 is more than 500"
	EndIf
EndIf

If v1 = v2
	Print "V1 is equal to V2"
	Beep
EndIf


'WATCH V1
'WATCH Slot(1)
'EXEC Slot 1 = 1000 : Slot 2 = 1000
