Forum

    • Register
    • Login
    • Search
    • Categories

    Reserved word root ?

    Scripting Forum
    2
    4
    88
    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.healey
      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

      ustk 1 Reply Last reply Reply Quote 0
      • ustk
        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

        I can't help pressing F5 in the forum...

        1 Reply Last reply Reply Quote 0
        • d.healey
          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

          ustk 1 Reply Last reply Reply Quote 0
          • ustk
            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... 🙃

            I can't help pressing F5 in the forum...

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

            20
            Online

            1.2k
            Users

            7.0k
            Topics

            64.7k
            Posts