Re: [fpc-pascal] Generic enumerators

2010-05-10 Thread Henry Vermaak
On 10 May 2010 13:27, Anthony Walter wrote: > Is the keyword "generic" really needed here: > > type generic TEnumerator = class > > - should be - > > type TEnumerator = class > > It looks completely unnecessary and I've never seen a situation in pascal > where anything but an identifier follows th

Re: [fpc-pascal] Generic enumerators

2010-05-10 Thread Florian Klaempfl
Anthony Walter schrieb: > Is the keyword "generic" really needed here: Yes, I explained it multiple times to you alreay. > > type generic TEnumerator = class > > - should be - > > type TEnumerator = class > > It looks completely unnecessary and I've never seen a situation in > pascal where an

Re: [fpc-pascal] Generic enumerators

2010-05-10 Thread Anthony Walter
Is the keyword "generic" really needed here: type generic TEnumerator = class - should be - type TEnumerator = class It looks completely unnecessary and I've never seen a situation in pascal where anything but an identifier follows the keyword type. Whomever came up with the idea was probably m

[fpc-pascal] Generic enumerators

2010-05-10 Thread Honza
Sample code for someone in need of generic containers with generic enumerators (no biz/ads there): http://freepascal-bits.blogspot.com/2010/05/sampler-generic-enumerators-for-generic.html ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:/