HISE Logo Forum
    • Categories
    • Register
    • Login

    nested for in loop scope convention

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 128 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.
    • ustkU
      ustk
      last edited by ustk

      Is that normal to lose the scope of the element of the first loop when you are inside the inner one?
      Well, I know the two workarounds to deal with this (either store it or use a counting loop), but is it normal behavior after all?

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

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

        This happens in Javascript too, it's annoying.

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

        1 Reply Last reply Reply Quote 1
        • ustkU
          ustk
          last edited by

          @d-healey @Christoph-Hart So perhaps Hise Script could handle it? This shouldn't break the backward compatibility, right?

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

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

          42

          Online

          1.8k

          Users

          12.1k

          Topics

          105.2k

          Posts