iOS Question Variable name

Discussion in 'iOS Questions' started by Claude Brun, May 9, 2019.

  1. Claude Brun

    Claude Brun Member Licensed User

    Hello, I have a table with items xx1, xx2, xx3 ...
    I have to fill all these items with the same value. Xx01 = "x", xx02 = "x" ...
    but I would like to make a loop from 1 to n, build the name of the variable "xx" & i
    But I do not know how to use this variable name to load the value


    PS : excuse my poor english
  2. LordZenzo

    LordZenzo Well-Known Member Licensed User

    have you been licensed for 6 years and don't know the basics of programming?
    I say no more
  3. Star-Dust

    Star-Dust Expert Licensed User

    I believe you have the wrong part of the forum.
    Here we share our software creations.
    Questions must be asked in the specific area.
    I say no more
  4. Claude Brun

    Claude Brun Member Licensed User

    Yes I am on a wrong part of the forum
    This post is for B4i forum (and I am beegener for apple)

    LordZenzo Thank a lot for your benevolent encouragement
  5. Star-Dust

    Star-Dust Expert Licensed User

    No, it is not the section dedicated to B4I.
    As we have written before is the section dedicated to the sharing of complete developed software.
  6. Cableguy

    Cableguy Expert Licensed User

    I like Faith No More too!
    Star-Dust likes this.
  7. Erel

    Erel Administrator Staff Member Licensed User

    Use a List or array:
    For i = 0 to 5
     Data(i) = 
    I recommend you to watch the collections video tutorial:
  8. Star-Dust

    Star-Dust Expert Licensed User

    I would use the map

    Dim M As Map
    For I=1 To 10
    "xxx" & I, "X")

  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