Troubleshooting

Uninitialized variables that use clamp don't persist

Started by mh175 on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
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.