On 08/09/14 17:34, Joost van der Sluis wrote: > On 09/07/2014 05:19 PM, Felipe Monteiro de Carvalho wrote: >> How can I read the value of field FParent which is located in object >> "Self" ? > > That's not that difficult: > > p this > p this.fparent
You can also use "self". You don't even have to add self/this explicitly, and just use "p fparent". Additionally, to print all fields of a class instance, you have to use "p self^", as class instances are pointers. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal