I'm changing classes in my project to UDTs (Type-Defs) and I'm running into a problem that I haven't noticed before:
In the class, we can design it like this:
However, we don't seem to be able to do such nesting in UDTs (Type-Defs), for example:Code:Class cNode Parent As cNode FirstSibling As cNode LastSibling As cNode End Class
The above definition will show an error. I would like to know, what is a good solution for such a situation? Thanks.Code:Type tNode Parent As tNode FirstSibling As tNode LastSibling As tNode End Type




Reply With Quote