Switch Function

Hornyotenni aante dagganno handaara amadanno tidhote dirto shallagganno. Soorrote...assishsha tenne assishshanni sa'anno handaara ledo xaaddanno hornyo qoltanno.

Ganallo:


Soorri (Handaara1, Hornyo1[, Handaara2, Hornyo2[..., Handaara_n, Hornyo_n]])

Eishshuwa:

Soorri assishsha handaarra guranni qiniiti wido shallagganno, qoleno assishshate handaarara gaamantanno hornyo qolanno. Handaaranna hornyo mitteenni aamama hoogguro, dodammete so'ro kalaqantanno.

Handaara: Shallagga hasiratto handaara.

Hornyo: Handaara Halaale ikkituro qola hasiratto hornyo.

Konni woroonni noo lawishshi giddo, Soorraasincho assishsha assishshate wido saino su'mira jendere gaamtanno:

Error codes:

5 Horiweelo aante woshsho

Lawishsha:


Sub ExampleSwitch
Dim sGender As String
    sJendere = JenderetMashalaqqisaanchoadhi( "Baxiso" )
    MsgBox sGender
End Sub
 
Function GetGenderIndex (sName As String) As String
    JenderetMashalaqqisaanchoadhi = Soorri(sSu'ma = "aliito", "laanqamo", sSu'ma = "ledamo", "danchile")
End Function

Please support us!