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
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice