how to simulate the inheritance of a record?
I'd like to inherit records, since this is not possible the best solution is to create classes with public fields and use inheritance aga开发者_JAVA技巧inst them?
Yes, uses classes. There is a complete discussion in the Stack Overflow question Why can't Delphi records have inheritance?
精彩评论