Re: [fpc-pascal] Problems with generics

2007-12-30 Thread bartek
On Sunday 30 December 2007 15:31:32 Micha Nelissen wrote: > bartek wrote: > > I am not quite sure whether my synatx is correct. IMHO explictly defining the > > type feels more pascalish. Having more time at hand i have written a much > > shorter example code which shows in what way such a type s

Re: [fpc-pascal] Problems with generics

2007-12-30 Thread Micha Nelissen
bartek wrote: > I am not quite sure whether my synatx is correct. IMHO explictly defining the > type feels more pascalish. Having more time at hand i have written a much > shorter example code which shows in what way such a type should be defined. I think that it is the same type in a different

Re: [fpc-pascal] Problems with generics

2007-12-30 Thread bartek
On Sunday 30 December 2007 07:32:22 Micha Nelissen wrote: > bartek wrote: > > function HashOf(const Key: ShortString): DWord; > > > > function BucketNodeOf(const Hash: DWord): TBucket.PNode; > > DataContainers.pp(104,66) Fatal: Syntax error, ";" expected but "." fou