Re: [fpc-devel] properties accessing field of nested object ?

2013-05-13 Thread Michael Van Canneyt
On Sun, 12 May 2013, Martin wrote: I know a property read/write to a member of a record, if that record is a field of the class. I tested the following code, it seems fpc also allows that for classes. type TFoo = class protected cn: Integer; end; TForm1 = class(TForm) private

Re: [fpc-devel] properties accessing field of nested object ?

2013-05-13 Thread Martin
On 13/05/2013 07:47, Michael Van Canneyt wrote: On Sun, 12 May 2013, Martin wrote: I have not tested it at runtime I assume it depend on a being initialized with an instance. Question, is that allowed by intention? That is can I trust that it will be supported by future fpc versions?

Re: [fpc-devel] properties accessing field of nested object ?

2013-05-13 Thread Paul Ishenin
13.05.13, 18:36, Martin пишет: Makes sense, since it does not work for properties, but only for fields. The access to record fields is intended though? Yes. Best regards, Paul Ishenin ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Is target mips-embedded possible / planned?

2013-05-13 Thread Florian Klämpfl
Am 13.05.2013 20:07, schrieb Michael Ring: OK, I got kind of bored last weekend and started to implement mips-embedded target. The crosscompiler builds fine and already shows the list of (not yet implemented) pic32mx controllers, I am now searching through the code for places that I need to

Re: [fpc-devel] Is target mips-embedded possible / planned?

2013-05-13 Thread Michael Ring
Am 13.05.13 20:36, schrieb Florian Klämpfl: Am 13.05.2013 20:07, schrieb Michael Ring: OK, I got kind of bored last weekend and started to implement mips-embedded target. The crosscompiler builds fine and already shows the list of (not yet implemented) pic32mx controllers, I am now searching