Re: [fpc-pascal] Queue integer values

2009-12-17 Thread Reimar Grabowski
> You can extend TQueue to have a method to insert the integer as pointers. Thanks for the answer, but I already found a way of using TQueue directly to solve my problem. R. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-po

Re: [fpc-pascal] Queue integer values

2009-12-17 Thread leledumbo
> I need a queue that can store integer values. Is there any way to use TQueue for this task You can extend TQueue to have a method to insert the integer as pointers. Ex: type TMyQueue = class(TQueue) public procedure AddInt(const Integer: i); end; ... // implementation procedure TMy

[fpc-pascal] Queue integer values

2009-12-16 Thread Reimar Grabowski
Hi all, I need a queue that can store integer values. Is there any way to use TQueue for this task or does a generic queue class exist which I can use? If both answers are no what is my next best option? R. -- A: Because it messes up the order in which people normally read text. Q: Why is top-p