Navigation

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

    User functions with the same name can now have a different amount of params

    Coding
    2
    3
    275
    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.
    • HeyoMayo
      HeyoMayo F last edited by

      Idk if i just haven't tried this out yet, but this code:

      function e(param1) 
      return void
      
      function e(param1, param2)
      return void
      

      now seems to work and both functions can be called in FUZE without function definition errors.

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

        Yes, overloading has been a thing in Fuze since patch 3.0.0.

        It is very useful!

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

          @vinicity awesome

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