Reputation: 217
Is there a possibility to get the count of elements on the stack?
For example if the stack looks like this:
--- Data stack: 1 1 1
the result should be 3.
3
Upvotes: 3
Views: 85
Reputation: 3830
This should do the trick:
datastack length
Upvotes: 2