Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Concatenate arrays

    Beginners
    2
    3
    237
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Skullo
      Skullo last edited by Skullo

      Hi everyone!

      Is possible to concatenate arrays?

      I've tried array1 += array2 but it didn't work (I got an "operation not recognized" error).

      Thanks in advanced!

      1 Reply Last reply Reply Quote 0
      • vinicity
        vinicity F last edited by vinicity

        No quick way of doing that, I’m afraid. You need to loop over the second array and add each element to the first array.

        (Or add elements from both to a new array. )

        1 Reply Last reply Reply Quote 1
        • Skullo
          Skullo last edited by

          Thanks for your answer! I did it the way you said to get my array completed. Maybe it would be nice if some kind of concatenate is introduced in future releases ¿?

          1 Reply Last reply Reply Quote 2
          • First post
            Last post