Ciao Sandro and welcome to thinBasic community.
thinBasic SDK for C/C++ is a very limited subset of the whole thinBasic SDK capabilities. The reason why is because so far there was not much interest in developing thinBasic modules using C/C++ languages.
But we can make some improvements on this
To answer to your question: yes, there are many different ways to add variables on the fly at the module level exactly like you do for equates. The problem is that such an interface function is not present for C/C++ SDK
Let me talk with Roberto (in charge of SDK for C/C++ development) and we will add for the next version.
Ciao
Eros
Bookmarks