Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Recursive Classes and the "uses" clause
Hi, I have a problem that is making me crazy. I have two classes, both have a field of the type of the another. They used to be in the same unit, so there was no problem, but now I'm starting the version 2 and the classes are turning too big to be in the same unit. If I include both units in the "uses" clause I get the "recursive unit reference" error...
How can I get out of this @#1~"% problem? Ideas?
0 · ·