Android Question SELECT ... CASE ?

Discussion in 'Android Questions' started by little3399, Feb 6, 2015.

  1. little3399

    little3399 Active Member Licensed User

    Hi

    Does B4A seem not support this writing ...

    select value
    case value1 or value2
    case value3 and value4
    ...

    end select
     
  2. WAZUMBi

    WAZUMBi Well-Known Member Licensed User

    Code:
    SELECT value

        
    CASE value1, value2

        
    CASE value3
           
            
    if value = value4 then

            
    end if

    END SELECT
     
    lemonisdead and Peter Simpson like this.
  3. Troberg

    Troberg Well-Known Member Licensed User

    Code:
    Select True
      
    Case value=value1 or value=value3
      
    Case value=value3 and value=value4 'This will never happen, unless value3=value4...
    End Select
     
Loading...
  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