Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21842

Type Structure vs Class module

$
0
0
Is there an advantage of using a Class module instead of a Type structure?

Let's say I have this:

Type Thing
X As Long
Y As Long
S As String
etc
etc
etc
End Type

Dim TheThing() As Thing

Now instead of that I could make a Class and have the same properties. Yes I know in the Class I can also have code but let's say there is no code so is a Class more efficient than the Type?

Viewing all articles
Browse latest Browse all 21842

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>