Hi!

Would it be faster if you used : case

as in
Code:
switch (choice)
{  
case 0:   
  //create red beat bar 1
   
 break; 
 case 1:   
 ......;    
break;  
case 2:
 //create yellow beat bar 2
    
 .....;
 break;  
default:    
.......;
}




Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C