S
Scot
I have a class library with two subs in a class, summarized below:
Class
Public num As Integer = 0
Sub 1
num = 1
End Sub
Sub 2
console.writeline(num.ToString)
End Sub
End Class
When I get to Sub 2, num is 0. How would I create an integer that I can
manipulate the value of through the sub? I can't use a function instead of
the sub in this situation.
Thanks,
Scott
Class
Public num As Integer = 0
Sub 1
num = 1
End Sub
Sub 2
console.writeline(num.ToString)
End Sub
End Class
When I get to Sub 2, num is 0. How would I create an integer that I can
manipulate the value of through the sub? I can't use a function instead of
the sub in this situation.
Thanks,
Scott