set variables
pille opened this issue · comments
it would be nice being able to set variables to a certain value.
e.g.: !VARIABLE VALUE
should assign VALUE
to VARIABLE
.
!duration 100
sets duration
to 100
.
it would be ok to:
- have this implemented for integers only as the main point would be fine-tuning those.
- ignore type checking, as this is for debugging and the user should know what he's doing.
I actually wrote a version that allows that but there is a significant growth in program and data size so I omitted that. The simplest version is to add a byte/block level modification and then build on that.
could you publish that branch?
you've modularized all features using #ifdefs, and i won't need most of them...
I might be able to manually merge the code back into the main branch but too much has happened since I tested it so it is simply easier to rewrite it when I get the time.