Page 4 of 4

Posted: Thu Nov 22, 2007 1:16 pm
by eesau
srod wrote:Consider it done! :wink:
Excellent, thank you :)

Posted: Thu Nov 22, 2007 2:28 pm
by srod
Update : 22nd November 2007.
Have added a new method, namely; Peek().

This allows you to examine an element from a stack without affecting the stack at all; that is no kind of 'pop' action is performed.

Note that the index supplied to this method is zero-based and thus must be a value within the range 0 to NumberOfElementsPushed()-1 etc.

The user manual has been updated.

Please see the first post for the download.

@Foz : my apologies for not adding the Peek() method sooner. It took eesau to beat me over the head a little before I could see the use for such a function!

Re: A OOP class for implementing stacks -massively upgraded

Posted: Fri Mar 30, 2012 2:08 pm
by Env
Please tell me this file is backed up somewhere?

The link is offline (as well as the site by the looks of it).. Any chance of obtaining a copy?

Thanks!

Re: A OOP class for implementing stacks -massively upgraded

Posted: Fri Mar 30, 2012 8:11 pm
by srod
I'll endeavour to get the nxSoftware site back up over the weekend which should reinstate the relevant link. :)

Re: A OOP class for implementing stacks -massively upgraded

Posted: Fri Mar 30, 2012 8:13 pm
by Demivec
Env wrote:Please tell me this file is backed up somewhere?

The link is offline (as well as the site by the looks of it).. Any chance of obtaining a copy?
Here's a link that will be good until srod gets the link fixed, or for at least 2 weeks if he dawdles. :)

Re: A OOP class for implementing stacks -massively upgraded

Posted: Fri Mar 30, 2012 8:54 pm
by SFSxOI
Maybe an update of the demo code also?

In the stackClass.pbi include, gives an error:

Code: Select all

Procedure StructuredStackClass_Pop(*this._membersStackClass, ptrStructure=0)

gives an error "Declair doesn't match with real Procedure'