Need a little help with (HISE) loops
- 
 @gorangrooves You can't declare an inline function inside a loop, that is just weird :p Post a snippet and I'll fix it :) 
- 
 @d-healey Ok. Thank you. If I export a HISE snippet from my entire current project, will that work despite missing all of the images for buttons, sliders etc, as well as the actual samples? 
- 
 @gorangrooves Don't make one for your entire project. Just make a minimal one that demonstrates the issue. 
- 
 @d-healey Uh, I'll try. There are several intervened elements. 
- 
 @gorangrooves Often the process of making a simplified snippet will reveal where the true issue is - I do this all the time if I'm trying to solve an issue in a complicated project. 
- 
 @d-healey Got you. I think I'll make a copy of one of the projects, then strip it down naked  
- 
 @gorangrooves You might also want to look at some of my tutorials where I'm building interfaces with controls stored in arrays and how I reference those controls inside the callback. 
- 
 @d-healey I did. I love them. Everything made perfect sense. Then I attempted to make my own...the rest is history  
- 
 @gorangrooves Something like this for (i = 0; i < MapCombos.length; i++) { MapCombos[i].setControlCallback(onBoxControl); } inline function onBoxControl(component, value) { local index = MapCombos.indexOf(component); noteTriggers[index] = value - 1; setKeyColours(); };
- 
 @d-healey Thanks so much, you wizard! I think that is the way to go. The notes and comboboxes are not quite matching at the moment, but I think I need to do some untangling, perhaps. You helped me overcome a major hurdle. Thank you so much! 
- 
 @d-healey Yes, I got it all sorted and implemented another feature to learn MIDI notes using a loop. Thanks so much again for the personal help and for your helpful videos! 

