That would be possible with advanced records, so don't get too excited by screwing a noob.
Actually i was unable to make any sense of things using advanced records, and would not stay at the least close to the original code from OT.
There is no intention (at least on my part) to screw with any-one here.
Actually i thought about BBasile's solution as that would perhaps be more clean.
It would be pointless, yes, but possible since it can contain a constructor.
The point of my post was to show that Pascal is a typed language, and as such the records cannot be created the way OT envisioned.
OT obviously intended to have a common procedure for creating different types of records, while that is very hard (if not impossible) to do in a strongly typed language as Pascal.
Inheritance could help a little there (depending of what OT had in mind exactly), but as we all know advanced records don't have support for inheritance, while objects and classes do. Thereby, classes can be identified and worked with more easily while records don't have any provision to handle them in the same way.
I don't consider using typeinfo a good solution, but that was besides the point i was trying to make.
There will always be the code duplication, and i can't fix that. I'm only able to show OT that it's there.
See also taaz's example.