Posted: 23 Mar 2014, 13:06
For each case statement block, do I need to provide unique counters and temporary variables (like midiTmp, for holding the current tMidi when iterating over the midi array, or throwaway counters like m,x,p etc) ?
I've been playing it safe so far and creating new counters and temp variables for each block because I'm worried what might happen if two callbacks are initiated and both are using 'x' as a counter in a for loop, but maybe this isn't actually something I need to worry about?
I've been playing it safe so far and creating new counters and temp variables for each block because I'm worried what might happen if two callbacks are initiated and both are using 'x' as a counter in a for loop, but maybe this isn't actually something I need to worry about?