vb.net - Structures in VB .NET like COBOL -
i'm converting cobol program vb .net.
is there way use structures in vb net cobol does?
in example:
cobol:
01 var1 10 var11 pic x 10 var12 pic x move 'aa' var1
after var11 = , var12 = a
is there way move string on top header of structure in vb net , every member of structure takes 'piece' of corresponding string?
thank you.
no. vb.net (well, it's not vb specific) string
class offers lot of functionality - can index array, can ask substring
s, etc.
don't try literally copy aspects of cobol program. small wins can write cleaner vb code.
Comments
Post a Comment