HISE Logo Forum
    • Categories
    • Register
    • Login

    REG Variables desperately wanna get their names back

    Scheduled Pinned Locked Moved Bug Reports
    3 Posts 2 Posters 285 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.
    • P
      ps
      last edited by

      I just compiled the latest version, no timeouts - great.
      But I unfortunately found something new that is kind of a big deal under certain circumstances. It seems that reg variables somehow lost their name property and will adapt the name from other variables. See the image below. I can still print values from the arrays In this 3 line example but I just had the problem with an external table when setting table points from an array that was a reg variable - the reg just completely disappeared in the watch table on init. (and there was no data to access anymore)

      Bildschirmfoto 2022-10-20 um 08.57.32.png

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @ps
        last edited by

        @ps ah yes, that was just a typo in one of the last commits.

        The advantage is that it will show your comments in the autocomplete if you're using the /** comment type:

        /** This comment will be shown in the `Autocomplete`. Press Escape and stand back in awe.. */
        reg myValues = [1, 2, 3, 4, 5];
        
        P 1 Reply Last reply Reply Quote 3
        • P
          ps @Christoph Hart
          last edited by

          @Christoph-Hart haha thanks for the fix!

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

          44

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts