I am new to VB in general. I am looking at some old VB code and I see statements like -
Addr.AddrType(CStr(0)).A_Type = " "
Why does the integer 0 need to be converted to a string?
Note that Addr is defined as
Public Addr As clsAddressDetail
AddrType is defined as a collection.
Public AddrType As New Collection
source
share