Visual Basic/Object Oriented Programming
|
|
|
|
|
Page 3 of 5 Classes are a combination of subroutines and types. By that I mean that when you write a class it looks very much like a type but is also contains subroutines and functions. Each class in VB6 is a distinct file, there can only be one class in a file and the class cannot be spread out in several files; this is a feature of VB6 not a requirement of object oriented programming. A class looks very much like an ordinary module but has the file extension .cls instead of .bas
|