fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    How to emulate switch case {} block?

    Questions & Answers
    2
    2
    486
    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.
    • V
      vibarco last edited by

      Hi,

      i would like to know how to emulate a switch case statement and the switch value can be optimized with numerical numbers.

      Regards.

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Blocks can have 1 or 2 outputs only. You probably ask for a block that could have multiple outputs, but they only have 1 or 2. Of course if you connect multiple Condition blocks one after another (each one connected after the yellow output of the previous one), you can do something like this. It will be if - else if - else if - else if...., but its similar

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

        Online Users

        F
        M
        F
        S
        E
        J

        16
        Online

        147.0k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors