
where to declare variables
I would like to declare a variable for the whole module, so before the
class, I used the dim statement, but I noticed in a sub that it complained
that a variable was not declared. This seems a little different than VBA.
Can anybody help?
Option Explicit On
Dim txtPlayer As String
Dim txtComputer As String
Dim x as Integer
Public Class RPS...
statements
End Class
--
Jeff Ciaccio
Physics and AP Physics Teacher
Sprayberry High School; Marietta, GA
Blog: http://www.*-*-*.com/