About Select ... case

Discussion in 'Questions (Windows Mobile)' started by JJM, May 21, 2007.

  1. JJM

    JJM Active Member Licensed User


    I would like to use:
    Select value
    case 30 to 50
    case 51 to 75
    End select

    I think it's not good.
    has Somebody the solution?


    JJ M
  2. Erel

    Erel Administrator Staff Member Licensed User

    'to' is not supported in a Select Case.
    You can only use:
    Case 30,31,32...
    Which is not useful here.
    The simplest solution is to use an If statement instead.
  3. JJM

    JJM Active Member Licensed User

    Thank you Erel.

    JJ M