[fpc-pascal] Generics in Delphi mode?
Hi. I just found out today that generics also work in Free Pascal (and as I understand it, it was even implemented before it was added in delphi :) ). However, the way it was implemented makes me frown a bit. Not that it is that bad or unusable or illogical, but as I use Delphi mode, I was expecting it to be compatible to the way it works in delphi. In other words: with the same syntax and same generic types like TList and TObjectList etc... Now I still have to add a number of $IFDEF's everywhere to make it compatible with delphi even though I i've used: {$IFDEF FPC} {$MODE DELPHI} {$ENDIF} I hope very much that this will be changed to a delphi compatible style, because if even the delphi compatible mode starts to deviate from delphi, then how far will the compatibility mode implementation be from the Embarcadero delphi language spec in something like 5 years from now? Greetz, Tim. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Generics-in-Delphi-mode-tp4272087p4272087.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Generics in Delphi mode?
Hi, On 2011-03-30 21:59, timveldhuizen wrote: I hope very much that this will be changed to a delphi compatible style It is already implemented in Trunk ;) Regards, Žilvinas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Generics in Delphi mode?
Hi, 2011/3/30 Žilvinas Ledas > It is already implemented in Trunk ;) Wonderful! I can hardly wait for it to be released in a stable version. I have version 2.4.0 here as the default freepascal package in Fedora 13, but I'll give the new release a spin as soon as it's out. I don't see a release date announcement anywhere though. Guess we'll have to be patient.. Thanks! Tim. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Generics in Delphi mode?
On 30 Mar 2011, at 21:28, Tim Veldhuizen wrote: > Wonderful! I can hardly wait for it to be released in a stable > version. I have version 2.4.0 here as the default freepascal package > in Fedora 13, but I'll give the new release a spin as soon as it's > out. I don't see a release date announcement anywhere though. Guess > we'll have to be patient.. It won't be in the next stable release (2.4.4), but only in the next major release (2.6.0). There is no date yet for the latter. Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: Generics in Delphi mode?
Can't wait? Just take the snapshots ;) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Generics-in-Delphi-mode-tp4272087p4272664.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal