Re: #UnO2 Variables to save memory #UnO2


ossandust
 

Hi,
variables can be used to store numeric values (0-127), boolean values (true/false), or small string values (like preset names for instance). They cannot store a complete script. 
What you want to use instead are "triggers". Next to their regular purpose (to create a momentary effect switch) they can also be used to contain a set of commands which you want to reuse in several presets.
So all you need to do is change "VAR  $RED = ..." into TRIGGER_CLICK RED = { ... } 
and in the presets you can then use the command "SendTrigger RED" 

Join uno@fcb1010.groups.io to automatically receive all group messages.