possible to give values to arrays in Sub Globals?

Discussion in 'Questions (Windows Mobile)' started by Stellaferox, Feb 17, 2008.

  1. Stellaferox

    Stellaferox Active Member Licensed User

    Hi,

    Maybe a stupid question but I couldn't find an answer to it. In other languages it is possible to declare an array and immediately give it a value, e.g.
    DIM Array(10) = (1,2,3,4,5,6,7,8,9)
    This is not possible in Basic4PPC? I have to give every entry a single line?
    array(0) = 1
    array(1) = 2
    array(2) = 3
    etc. etc. ?
    thnx
    Marc
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Stellaferox

    Stellaferox Active Member Licensed User

    Erel, that's it!!
    Again that StrSplit function that has magical possibilities!
    thnx
    Marc
     
Loading...