User Variables
Hi,
I'am thinking about changing the source code to support unlimited user variables, because in large projects, is very dificult to not make some stupid errors like "forget some push/pop mixed with plugins, etc". The idea is create another especial user var ( ex: $V) and two methods (Set/Get):
example:
Set Name Ramon
Set Country Japan
Get Name
MessageBox MB_OK "My name is $V"
Get Country
MessageBox MB_OK "I'am from $V"
...
So, every time we call "Get VAR_NAME" the result will be stored in special variable $V. I hope you understand my thoughts
Currently I have this implemented as macros with pluging /NOUNLOAD, but I think that this can be less *heavy* if used inside engine :p
Sugestions are welcome
cya
Ramon