Variable String ButtonName1
ButtonName1 = "Test1"

Button 1 Text ButtonName1
Button 2 Text "Button2"
Button 4 Text "Button4"
Button 5 Text "Button5"
Button 6 Text "Button6"
Button 7 Text "Button7"
Button 8 Text "Button8"
Button 9 Text "Button9"

Option Speed 4
For v1 = 1 To 5
	Button ButtonName1 Text ButtonName1 + " = " + Format(v1, "0")
	Button Button2 Text "Test2 = " + Format(v1, "0")
	Button Button4 Text "" + Format(Rnd * 10, "0.00000")
	Button Button5 Text "" + Format(Rnd * 10, "0.00000")
	Button Button6 Text "" + Format(Sin(Rnd) * 10, "0.00000")
	Button Button7 Text "" + Format(Cos(Rnd) * 10, "0.00000")
	Button Button8 Text "" + Format(Tan(Rnd) * 10, "0.00000")
	Button Button9 Text "" + Format(Log(Rnd) * 10, "0.00000")
	Print v1
	Wait Seconds 0.01
Next

Option Speed 9
For v1 = 1 To 50
	Button ButtonName1 Text ButtonName1 + " = " + Format(v1, "0")
	Button Button2 Text "Test2 = " + Format(v1, "0")
	Button Button4 Text "" + Format(Rnd * 10, "0.00000")
	Button Button5 Text "" + Format(Rnd * 10, "0.00000")
	Button Button6 Text "" + Format(Sin(Rnd) * 10, "0.00000")
	Button Button7 Text "" + Format(Cos(Rnd) * 10, "0.00000")
	Button Button8 Text "" + Format(Tan(Rnd) * 10, "0.00000")
	Button Button9 Text "" + Format(Log(Rnd) * 10, "0.00000")
	Print v1
	Wait Seconds 0.01
Next




