Navigation

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

    A copy of a colon-style defined array range fails to grow

    Bug Reporting (FUZE 4 Nintendo Switch)
    array
    3
    3
    400
    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.
    • spikey
      spikey F last edited by spikey

      @vinicity and me were working on a slicing function. We tried to apply the undocumented array-index shortcuts, mentioned by @Discostew in the hint section, with the colon. Probably we found a bug.
      ID: LXK738YWK8

      t1 = ["a", "b","c"]
      t2 = t1[:0] // only an array with the first element is stored in t2
      t2[1] ="Q"
      t2[2] ="Z"
      print(t2[0]) // print(t2) would generate the same error
      

      Generates an Unknown type: -162517584.
      @Jongjungbu found then a workaround for the slice function. So, together with the fact, that this is maybe not an official functionality, the priority of this bug dumps probably to -1. 🤔

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

        Nevertheless, I think it should be fixed. It is really annoying, and puts a damper on the fact that we have all these extremely useful tools for array manipulation.

        I also wish that those get added to the official help files, since I think many people do not even know they exist.

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

          Very interesting never seen that error code before

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