Uninitialized variables that use clamp don't persist
Posted: 22 Jun 2014 01:09
I understand the way to save a variable value is by leaving it uninitialized, so that when I shut-down Lemur, the last value persists when Lemur is loaded up again--- so long as I saved the changes on the iPad.
But when I use "clamp" to restrict a value, the variable always resets to 0 on startup. I need to be able to save a value's state for recall, but also restrict it to a range of -1 to 8.
But when I use "clamp" to restrict a value, the variable always resets to 0 on startup. I need to be able to save a value's state for recall, but also restrict it to a range of -1 to 8.