if i do something like this how would i make the variable "play" value
change all over the program?
VB Code:
Dim play as byte Private Sub Form_Load() play = 1 End Sub Private Sub start_Click() If play = 1 Then starter play = 0 End If End Sub Sub starter() Timer1.Interval = 1 ' for 1 millisec Timer1.Enabled = True stupid.Caption = "" play = 1 countt.Caption = "Count to?" End If Next i End Sub
something like that
in the Sub starter, play is changed to "1"
but does it only change it in that Sub? or does it change the global variable?
do i make sense or do i got it all wrong?


Reply With Quote
