Push Down Stack ?

  • Thread starter Thread starter dhstein
  • Start date Start date
Not like you're thinking about; that is not one that you can "push" and "pop"
from as in assembly language. It does have internal stack space that the VB
engine uses, but you can't access that directly.

You could probably simulate a stack with a dynamic (or even static) array.
If you'd explain a little more about what you are trying to do or want to do,
then we might be able to offer some better suggestions.
 
Thanks. I'll probably just simulate it - keep track of the level of the
stack with a pointer and push and pop accordingly. I'm showing a progress
meter for several applications. The applications can be called directly or
can be called from an application that is already showing the progress meter
- so I need to keep track of which application's progress is being displayed
and the percent complete and I thought a push and pop type of stack would
work well.

David
 
Sounds like you have a handle on it all.

dhstein said:
Thanks. I'll probably just simulate it - keep track of the level of the
stack with a pointer and push and pop accordingly. I'm showing a progress
meter for several applications. The applications can be called directly or
can be called from an application that is already showing the progress meter
- so I need to keep track of which application's progress is being displayed
and the percent complete and I thought a push and pop type of stack would
work well.

David
 
Back
Top