Navigation

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

    Version 2.15.0 is here!

    Announcements
    14
    25
    1946
    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.
    • Martin
      Martin Fuze Team last edited by

      @Richard I think it's a fixed INITIAL size.

      1 Reply Last reply Reply Quote 0
      • PB____
        PB____ last edited by

        I've mentioned it on Discord but I think this needs to be mentioned on the forum:

        In FUZE 0.2.14 sometimes you would assign to a variable by reference, and sometimes by value. Sometimes it would appear consistent by reference and sometimes it would appear consistent by value.

        In FUZE 2.15 it appears to be always consistent by value. For example:

        data = [.val = 1]
        copy = data
        copy.val = 2
        print(data.val, " ", copy.val) // prints "1 2"
        update()
        sleep(100)
        

        I think this example would have printed "2 2" most of the time in 0.2.14, but would sometimes print "2 2" anyway.

        So I think this will be a breaking change for some programs, and I'm doubting that there is an easy fix for every situation. In any case, I think it deserves a mention in the https://fuzearena.com/forum/topic/1245/2-15-potentially-breaking-changes threat?

        1 Reply Last reply Reply Quote 0
        • PB____
          PB____ last edited by

          Can't edit my original post, but obviously I meant one of the "2 2" to be "1 2"

          vinicity 1 Reply Last reply Reply Quote 1
          • vinicity
            vinicity F @PB____ last edited by

            @PB____ ...and in 2.15 it prints ”1 2”?

            1 Reply Last reply Reply Quote 0
            • PB____
              PB____ last edited by

              @vinicity yes, that's what I'm seeing

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