I have the Type:
Type Estrutura
b As String * 2
c As String * 5
End Type
I declare a as Estrutura then
a.b = "AB"
a.c = "ABDCE"
ok ??
Now, I need other type (or anything like this to refer this type) like this:
Type EstruturaB
d1 As String * 1
d2 As String * 1
d3 As String * 5
End Type
But now is the point:
I need that:
d1 value will be "A" (the first a.b characther...)
d2 value will be "B" (the second a.b characther...)
d3 value will be "ABDCE" (the a.c value)
Is there any way to link this 2 types or any way to do this ???
Thanks any help !!!
In Cobol I can do this , but in Vb I don't know.
Type Estrutura
b As String * 2
c As String * 5
End Type
I declare a as Estrutura then
a.b = "AB"
a.c = "ABDCE"
ok ??
Now, I need other type (or anything like this to refer this type) like this:
Type EstruturaB
d1 As String * 1
d2 As String * 1
d3 As String * 5
End Type
But now is the point:
I need that:
d1 value will be "A" (the first a.b characther...)
d2 value will be "B" (the second a.b characther...)
d3 value will be "ABDCE" (the a.c value)
Is there any way to link this 2 types or any way to do this ???
Thanks any help !!!
In Cobol I can do this , but in Vb I don't know.