Hi all, I've been extreamly stuck trying to figure this out. How would you access the parent class? For example:
Public Class Foo
Dim myInt as Integer
Dim cMoo as Moo
Public Sub main()
myInt = 0
cMoo.changeMyInt()
End Sub
End Class
Public Class Moo [???: inherits Foo]
Public Sub changeMyInt()
myInt = 3
End Sub
End Class
After calling changeMyInt in the main(), I would want to myInt to be 3. How would one do that? In my case I just wrote above, it would create another instance of Foo and only changing that instance. When going back to the Parent Foo, it still would be 0 coming out of Main(). How would one do this?
Public Class Foo
Dim myInt as Integer
Dim cMoo as Moo
Public Sub main()
myInt = 0
cMoo.changeMyInt()
End Sub
End Class
Public Class Moo [???: inherits Foo]
Public Sub changeMyInt()
myInt = 3
End Sub
End Class
After calling changeMyInt in the main(), I would want to myInt to be 3. How would one do that? In my case I just wrote above, it would create another instance of Foo and only changing that instance. When going back to the Parent Foo, it still would be 0 coming out of Main(). How would one do this?