Powerbasic Museum 2020-B

General Category => General Discussion => Topic started by: Larry Charlton on September 27, 2013, 06:15:55 PM

Title: Need Help with Queue
Post by: Larry Charlton on September 27, 2013, 06:15:55 PM
There's this post on the PowerBASIC site: http://www.powerbasic.com/support/pbforums/showthread.php?t=53610

If someone could post that he just needs to either:
1) Remove oQ1.Clear
or
2) Replace oQ1.Clear with
LET oQ1 = Nothing
LET oQ1=CLASS "QueueCollection"


I would appreciated it.  PB has a ticket on this but it's not been fixed yet.

I'd post it but I've forgotten my password and the reset doesn't appear to be working right now.
Title: Re: Need Help with Queue
Post by: José Roca on September 27, 2013, 06:23:01 PM
I have posted a link to this thread.
Title: Re: Need Help with Queue
Post by: Ganeshan Kalmane on September 28, 2013, 04:46:36 PM
Quote from: Larry Charlton on September 27, 2013, 06:15:55 PM
There's this post on the PowerBASIC site: http://www.powerbasic.com/support/pbforums/showthread.php?t=53610

If someone could post that he just needs to either:
1) Remove oQ1.Clear
or
2) Replace oQ1.Clear with
LET oQ1 = Nothing
LET oQ1=CLASS "QueueCollection"


I would appreciated it.  PB has a ticket on this but it's not been fixed yet.

I'd post it but I've forgotten my password and the reset doesn't appear to be working right now.
Thank you for the help.

What I really need is a FIFO to store incoming packets and dispose off them when required. If not 'Queue', is there some other object in PowerBasic, which I can use for this purpose
Thanks
Title: Re: Need Help with Queue
Post by: Carlo Pagani on September 28, 2013, 06:11:01 PM
Hi Ganeshan
Take a look at this link
http://deadtheorywalking.com/power_basic_code/power_basic_code.html

There are object and function based libraries.
Title: Re: Need Help with Queue
Post by: Ganeshan Kalmane on September 29, 2013, 06:09:38 AM
Quote from: Carlo Pagani on September 28, 2013, 06:11:01 PM
Hi Ganeshan
Take a look at this link
http://deadtheorywalking.com/power_basic_code/power_basic_code.html

There are object and function based libraries.
Thanks a lot. I'll look into these.

Just curious: What has Dead Theory/ Theory of Evolution  got to do with programming?
Title: Re: Need Help with Queue
Post by: Carlo Pagani on September 29, 2013, 05:34:51 PM
QuoteJust curious: What has Dead Theory/ Theory of Evolution  got to do with programming?

Stanley Durham, the author, will have to answer that question. ;D