HISE Logo Forum
    • Categories
    • Register
    • Login

    Reserved word root ?

    Scheduled Pinned Locked Moved Scripting
    5 Posts 3 Posters 322 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      I just tried to compile a script that contains a variable called root. This gave me the following error

      Line 5, column 19: Found ')' when expecting '.'

      So I guess this is a reserved word?

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

      ustkU 1 Reply Last reply Reply Quote 1
      • ustkU
        ustk @d.healey
        last edited by

        @d-healey Strange, the error doesn't seem to be related, and here I have no error with a variable called root

        Can't help pressing F5 in the forum...

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

          Try this snippet

          HiseSnippet 664.3ocsU00aSCCE0tqdhVXHlD+.xicRioDXafzDhw5GnJXaUjwDuM443tZMG6HGmAUH9CyS7O.tNIaoEBSaQB+TtebRN9dt2alXzLdZp1fvcNYdBGgeDIbtxNq+LpPgFO.geL4PZpka7Jbcv7DZZJOBgwq7NmCbm1n7yOeyATIUw3UtPnS0BF+ChXgsx6j8euPJGQi3mHhWH6s2eLSq5qk5LfOqP7QIT1kzK3GQco0hfvqNLRX0lPK0xSgbNPGMObl9Kph7OUjJNWxcFAnP3EU3F0elPFM456ZJBgaOo5luRwM+ojCEQha7WUAdRd.uJDKVCvsVlRsWhRA+KJMRKibuf+A8vKPu1EzacRHyHRrUQbb6gjwJPblRgx9hzpHWD9Gj9ZHAkcqX5k7QFv3F.8102eSuc782Xu05tVWC+BOiVa8dsWfetG.ZpVx2JwHT1dtXar2zLEyJzJOs5Hskerp2Fc+V2Nc+dWu+Lzzo0FyQHiVJ4lZC65IL2Fvdpr3y4lM8thJy32jHTnVVIV8toDrh5yBIpUiUB6wI7R6JsJnFsBUVfgm9z3ATK0Iek9f7R3FqvQG7.9UvrPgX1gLfmdoUm.SC+kRC8a5nLI0tbSnaZqL.TOVRscRpJUXmu3z38nyzu1NyZus2Q5tNYhvxlUOeaUCegp1+a9VNmuFY3zoblshrsIi9bSGpuGT4i5LqPcwgTqQ7UDlbTVbHrpiwAlnTbI7gH3VtNpBaemsqxDxUQ4F+BNkACb13xfAWGDESYF8YrhIE2ljGj6A3jJeIZGXaNX6Efxmd.bD+s7QwvBtyXLWo3Y.2qGyya.lWz.La2.L6z.L61.LurAXd0shw8uk2lY0wEiIfiICyWifwCUTnKKuiD8a.zaICDC
          

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

          ustkU 1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey Oh yes you're right, it throws an error when using the variable, not at declaration time... 🙃

            Can't help pressing F5 in the forum...

            1 Reply Last reply Reply Quote 1
            • VirtualVirginV
              VirtualVirgin
              last edited by

              Ok, I've been getting a lot of strange errors form variables called "root". This has been driving me nuts because I am working with a lot of chord and scale information so many times I need a "root"! I'll just have to start naming them something else apparently.

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

              43

              Online

              1.7k

              Users

              11.7k

              Topics

              102.0k

              Posts