CompuServe Messages

#Stack

    06-Nov-90 22:41:19
Sb: #3207-#Stack
Fm: Betty Clay/SYSOP 76702,337
To: Chris O'Regan 76447,666
Chris, A STACK, in any computer language, is a section of memory that is used to hold information (like addresses) for use in a program. It is usually arranged so that items are put one on top of the other in memory – that is, they read from the bottom up. And the items stored there are taken off in opposite order to that in which they were put on. For example, if you put an address there, went to another location in memory to do something, and then wanted to return to where you left off, the address you stored would be at the top of the stack, so you would pull it off the stack and go to that address. I hope this makes sense to you. Betty