Spanish switch Case como

Steave

New Member
Hola a todos, quería saber como se utiliza el switch Case en B4A, o es que en este lenguaje no existe el Switch?
Gracias de ante mano
 

bgsoft

Well-Known Member
Licensed User
Longtime User

eurojam

Well-Known Member
Licensed User
Longtime User
Hola Steave,
existe un Select Case:
B4X:
Select TestStatement
Case "A"
  'hace alguna cosa
Case "B"
  'hace otra cosa
case else
  'hace nada...
end select
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…