> For records, I would use an extension field like:
> 
> IP.Payload
> 
> and
> 
> UDP.Payload
> 
> I would hardly call that obfuscation :)

But the whole idea of inheritance is that child fields and methods are also
available in UDP. 

Have a look at a basis OOP tutorial. 
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to