How do you make like a type of... I dunno what you call it, that's the problem. ;-) I forgot!
It's like a custom defined '.This' thing which you can use... how do you use them? (the basics)
Thanks,
-Git
Printable View
How do you make like a type of... I dunno what you call it, that's the problem. ;-) I forgot!
It's like a custom defined '.This' thing which you can use... how do you use them? (the basics)
Thanks,
-Git
Do you mean Classes?
ie:
Code:Dim myC as new myClass
myC.text="Hello all"
myC.Alert
'where myC.Alert is a function that outputs the myC.text
Not quite.
I mean say if you have a string called 'Hello'.
How can you make your own custom variable? eg.
Hello.Custom
Thanks,
-Git
you mean a UDT?
Code:Private Type MyType
My1 As String
End Type
Dim MyMy As MyType
Private Sub Form_Load
MyMy.My1 = "Hello"
End Sub
Yup, that's it. Thanks! :) :)
Cyas.
-Git
BTW, The MS term for that is User-Defined Type.