| do select Full Description |   | 
| Syntax   do select numeric-expression
  (case selector (| selector)*
       local-declaration*
       action*)+
  ( else
      local declaration*
      action*)?
  done
Purpose Evaluates a numeric expression, compares it against the numeric values or ranges in the  If none of the  If a part was selected, the actions in that part are performed. Otherwise, none of the actions are performed. The numeric ranges are inclusive. If the value falls between the upper and lower bounds, or matches either bound, the test succeeds and that  It is an error for a selecting value to match more than one  This code sample shows how  If none of the  local counter val ... do select val case 1 | 3 | 5 ; do something case 2 | 4 | 6 to 10 ; do something else else ; do something different done |