HISE Logo Forum
    • Categories
    • Register
    • Login

    Arrow Function is HISE Scripting?

    Scheduled Pinned Locked Moved Solved Scripting
    4 Posts 3 Posters 218 Views
    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.
    • clevername27C
      clevername27
      last edited by

      Is the arrow function (i.e. iteration) supported in HISE? Thank you,

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @clevername27
        last edited by

        @clevername27 Could you give an example?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        oskarshO 1 Reply Last reply Reply Quote 1
        • oskarshO
          oskarsh @d.healey
          last edited by oskarsh

          @d-healey Arrow functions are a ES6 addition and feature a more concise way of writing functions.

          Link Preview Image
          Arrow function expressions - JavaScript | MDN

          An arrow function expression is a compact alternative to a traditional function expression, with some semantic differences and deliberate limitations in usage:

          favicon

          MDN Web Docs (developer.mozilla.org)

          Usually arrow functions are used for the new school iterations.
          https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map

          @clevername27 AFAIK they are not part of HISE

          breathing HISE

          d.healeyD 1 Reply Last reply Reply Quote 3
          • d.healeyD
            d.healey @oskarsh
            last edited by

            @oskarsh Oh I'm with you now, yes the are not part of HISE script.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • clevername27C clevername27 marked this topic as a question on
            • clevername27C clevername27 has marked this topic as solved on
            • First post
              Last post

            53

            Online

            1.7k

            Users

            11.7k

            Topics

            101.9k

            Posts