Forum

    • Register
    • Login
    • Search
    • Categories

    nested for in loop scope convention

    General Questions
    2
    3
    28
    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.
    • ustk
      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?

      I cannot help pressing F5 in the forum...
      Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

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

          I cannot help pressing F5 in the forum...
          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

          6
          Online

          977
          Users

          6.6k
          Topics

          60.6k
          Posts