Quote:
|
Originally Posted by Kallian VB 6? I thought you were working with .NET 03?
The variable can either be an instance variable or a local variable. You're not really worried about any kind of performance in this case so it doesn't matter.
Instance variable would be nice because you could get a random number in any function within that class without having to allocate memory (again, if you cared about these types of things). |
Eh. My book/teacher are teaching VB6, but I am using .NET2003 for my editor. I guess I just assumed that it and VB6 were the same thing.
Anyway, thank you again for the help. and yeah, so far I've not made a program bigger than that would fit on a floppy. Simple things like calculations and input validation. Then again, it is intro to programming. I'm a network major, so its not like its -that- important, heh. Just need to know a bit of programming to be able to make an auto-updater and stuff.
I will say knowing how programs work has helped a lot when it comes to understanding what happens when you click on a button.