View Single Post
Old 10-25-2006, 03:38 PM   #5 (permalink)
Vindekator
Newbie
 
Join Date: Nov 2004
Posts: 30
Default

You might try something like

switch(slct[a,b])
{
case "1_5":P{some stuff}
case "1_6":P{some stuff}
case "1_7":P{some stuff}
case "2_5":P{some stuff}
case "3_5":P{some stuff}
}

where you have set up the array slct to have the values required (also include a default if necessary)

You can increment or set your indexes and get a testable string from the array.
Vindekator is offline   Reply With Quote