by Brian Zablocky (4 Submissions)
Category: Data Structures
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
This is a class module that provides a LIFO stack for parsers et al. Pretty well commented and comes with a test project to demonstrate it.
Assumes
This is a class module. You will need to add the class to your project and declare it before using it. There is no interface to the actual class.
Side Effects
Data is stored in variants, so you should do some checking on values that you read from the stack to make sure they are the values you want.
Download Stack Class (6 KB)