Module
Contents
Index 🔎︎

# Dim Statement

Soorramaancho woy dira xawisanno.

Soorramaano taxxeessu malaatinni(lawishshaho, DIM sPar1, sPar2, sPar3 NAANNI-FIKIIMMATE GEDE) badanturo, Baxxano soorramaano calla tirantanno. Mittu mittunku soorramaanchira badaantino tiro horonsi'ri.

    Dim sPar1 As String
    Dim sPar2 As String
    Dim sPar3 As String

Dim cinaancho biddissa giddo baadi soorramaancho egensiisanno. Kalqe soorramaano GUTA woy MEESSIHA fooliishsho giddo xawisantanno.

## Ganallo:

    [ReDim]Dim VarSu'ma [(Gudate hanafi)] [VarDana Gede][, VarSu'ma2 [(Gudate hanafi] [VarDana gede][,...]]

## Eishshuwa:

VarSu'ma: Soorramaancho woy diraye su'ma.

hanafi, Gudi: (KiiroteMiiilla=(gudi-hanafi)+1) miilla nna mashalaqqisaancho hakkigeeshsho tirtanno kiirote hornyuwa woy hegeraamma.

ReDim aantete deerrira loosansamiro Hanafi nna Gudi kiirote handaara ikka dandiitanno.

VarDana: Soorramaanchu daati dana egensiisanno qaraqaale.

Qaraqaale: Soorramaanchu dana

Buulaancho: Buulaancho soorramaancho (Halaale, Xara)

Womaashsha: Womaashshu-Soorramaancho (4 Tonnishshu dargi womaashsha)

Barra: Barru soorramaancho

Marro: Double-precision floating-point variable (1,79769313486232 x 10E308 - 4,94065645841247 x 10E-324)

Intijere: Intijere soorramaancho (-32768 - 32767)

Seeda: Seeda intijere soorramaancho (-2.147.483.648 - 2.147.483.647)

Uduunnicho: Uduunnichu soorramaancho (Egensiishsha: kuni soorramaanchi Qineessi! nni tiramanno)

Single: Single-precision floating-point variable (3,402823 x 10E38 - 1,401298 x 10E-45).

Naannifikiima: Bati'ra 64,000 ASCII fikiimmuwa amadanno Naannifikiimate soorramaancho.

[Baxxaancho]: Baxxaancho soorramaancho dana(tirotenni badaminoha baalanka dana amadanno). Qaraqaali badaminokkiro, fooliishsho DefBool giddonni DefVar giddo horonsi'rantanno geeshsha soorramaano uminsanni Baxxaanno Dani gede tirantanno.

LibreOffice Basic giddo, you soorramaano egensiisa dihasiisannohe. Ikkolanna kayinni, horonsi'rattora albaanni dira egensiisa hasiisannohe. baca egensiishsha badate taxxeessu malaate horonsi'ratenni soorramaancho Dim fooliishshonni egensiisa dandaatto. Soorramaancho dana egensiisate, su'munni aanchite danu-egensiishsha eessi woy muli qaraqaale horonsi'ri.

LibreOffice Basic badamino soorramaanchinni tirantino tircho woy baca-waate dira irkisanno. Pirogiraame muccisa hasiratto dirtto woy sha'a amadduro dira dandiitamanno. Dirate horo, kiirote handaarra woy soorramaano gede shallagantino mashalaqqisaano garinni miila iillisha dandaate.

Dira Dim foolishshonni egensiisamantanno. Mashalaqqisaanchu hakkigeeshsho tirate lame metede no:

DIM borro(20) REM Naannifikiima gede 21 miila 0 nni 20 geeshsha kiirantanno

DIM borro(5-25) REM Naannifikiima gede 21 miila 5 nni 25 geeshsha kiirantanno

DIM borro(-15nni 5 geeshsha) REM Naannifikiima gede 21 miila (0te ledo)

REM -15 nni 5 geeshsha kiirantanno

Lame-waate daata bare

DIM borro(20,2) REM Naannifikiima gede 63 miila; 0 nni 20 geeshsha deerra 1, 0 nni 20 geeshsha deerra 2 hattono 0 nni 20 geeshsha deerra 3.

Dira amaddanno cinaancho biddissa woy assishsha giddo ReDim fooliishsho waatete kiiro tirturo, dirate dana soorramaanchu gede egensiisa dandaatto. Xaphoomunni, dirate waate mitteege calla tira dandaatto, hattono soorra didandaatto. Cinaancho biddissa giddo dira ReDim nni egensiisa dandaatto. Waate kiirote handaarranni calla tira dandaatto. Kunino bare hasiritto gede batidhannota leellishshannohe(buuxatto).

## Lawishsha:

    Sub ExampleDim1
    Dim sVar As String
    Dim iVar As Integer
        sVar = "Beero"
    End Sub

    Sub ExampleDim2
    ' Lame-waate daata bare
    Dim stext(20,2) As String
    Const sDim Naannifikiimate Gede = " Waate:"
    For i = 0 To 20
        For ii = 0 To 2
            stext(i,ii) = str(i) & sDim & str(ii)
        Next ii
    Next i
    For i = 0 To 20
        For ii = 0 To 2
            MsgBox stext(i,ii)
        Next ii
    Next i
    End Sub