Re: [fpc-pascal] For..in enumerator for generic records?

2016-12-06 Thread Sven Barth
On 02.12.2016 08:22, Ryan Joseph wrote: > Yes but the problem is doing this with generics. :) That’s where I got stuck > and I don’t think it’s possible. Ah, yes, right, sorry. Attached is a corrected version :) Regards, Sven program trecenum; {$mode objfpc} {$modeswitch advancedrecords} type

Re: [fpc-pascal] Is there a way to create a generic pointer to a generic record

2016-12-06 Thread Sven Barth
On 21.11.2016 02:05, Le Duc Hieu wrote: > Is there any entry on Mantis for me to keep track of this bug status? I've fixed that bug now (it did already work in mode Delphi by the way), so now you can use this: === code begin === type generic TGList = record public type PGList = ^speciali