Stack: Difference between revisions

Content added Content deleted
(Yet another major refactoring)
(Added attribution)
Line 563: Line 563:
{{works with|COBOL|2002}}
{{works with|COBOL|2002}}
{{works with|OpenCOBOL|1.1}}
{{works with|OpenCOBOL|1.1}}

Based loosely on the C stack implementation in Quiwa's Data Structures.

This example (ab)uses the COPY procedure to ensure that there is a consistently-defined stack type, node type, and p(redicate) type.
This example (ab)uses the COPY procedure to ensure that there is a consistently-defined stack type, node type, and p(redicate) type.