I'm working on a library about stacks. Now, a "stack" variable is defined as a number, i.e.
DIM stk AS DWORD

stk = STACK_CREATE()
STACK_PUSH(stk, "test content")
...and so on...
How can I make possible to declare stk with a line like
DIM stk AS STACK
or, create an equate that may replace "STACK" with "DWORD", like in the C "typedef" directive? I've tried the equate-creating function thinBasic_AddEquate, but it doesn't work for data types.

A small request, for third-party modules developers... what about a small guide about available functions and their use with C++ compilers?

Thanks in advance