> > The only *disadvantage* of units are the current Pascal compilers, which > > cannot handle circular unit references :-( > > No, it's an advantage: it makes the code and design clearer, plus > it increases the speed of compilation a *lot*. > note: you can have cuircular implementation references just not cuircular interface references.
so sometimes some extra typecasts will be needed if classes need to have referenes to each other but its not usually any worse than that. converting between OOP languages will always be hard because they all use different object models and most code is designed around the object model of the language in use. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel