Navigation

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

    Crash when declaring array with var and then setting a value

    Bug Reporting (FUZE 4 Nintendo Switch)
    2
    2
    136
    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.
    • RodrigoDavy
      RodrigoDavy last edited by RodrigoDavy

      Here's the code that causes the crash:

      var a, b[3]
      
      b[0] = 1
      

      The crash apparently happens when you declare non-array variables and array variables in the same line

      I had a program I was working a lot on that suddenly started crashing because of this, took me a lot of effort to find out what was causing the problem. Thankfully, I didn't lose my progress with the code and was able to fix it :P

      pianofire 1 Reply Last reply Reply Quote 1
      • pianofire
        pianofire Fuze Team @RodrigoDavy last edited by

        @RodrigoDavy Thanks for letting us know I will report this

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