in reply to Re^2: Persistent stack implementation (s/L/F/)
in thread Persistent stack implementation
D'oh!
In which case, you just need to reverse your puts and gets. I'm sure it will all work out all right in the end.
More seriously, the suggestion of using a file (with locking and fixed length records) is a good one. That should be fairly straightforward.
|
|---|