[comp.lang.pascal] Stack object CODE available.

TOMJ@csdserver3.csd.scarolina.edu (Thomas E. Jenkins, Jr.) (05/16/91)

Hi,

  While reading the book _The_Tao_Of_Object_ by Gary Entsminger ISBN:1-55851-
155-5, I decided to put some of the ideas to use.  My decision was to create
a Stack object much like the list object that comes with TP.  Of course
there is no searching ( it is a stack ), but it wouldn't be too haard to
make a priority stack object from this one.  If anyone is interested in
seeing the units ( one defines the stack object and element object base
type, and the other defines a string element object and an integer element
object ) let me know.  If there is enough interest, I'll post to the lists -
by the way, total size of both units is only about 6000 bytes and the
example program is about 1000 bytes.

  The main reason I'm posting this is to let anyone interested in learning
OOP know about the above book.  I'm really getting a grip on OOP and
Polymorphism ( as demonstrated by the two units ) because of it.

tom
+--------------------------------------------------------------------------+
|  Thomas E. Jenkins, Jr.   Programmer, University of South Carolina CSD   |
+--------------------------------------------------------------------------+
| BITNET         :  C0361@UNIVSCVM.BITNET  |  CSDNET  :  tomj/csdserver3   |
| INTERNET       :  TOMJ@csdserver3.csd.scarolina.EDU          {PREFERRED} |
|                :  C0361@univscvm.csd.scarolina.EDU  |  129.252.43.30     |
| FROM Compuserv :  INTERNET:TOMJ@csdserver3.csd.scarolina.EDU {PREFERRED} |
|                :  INTERNET:C0361@univscvm.csd.scarolina.EDU              |
+--------------------------------------------------------------------------+