We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Conditional Loop and a crazy Variable

Home Forums Puzzles Conditional Loop and a crazy Variable

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38353
    ocularvr
    Customer

    Hi, I have read the documentation on the Loops Puzzle, I have an issue which is I create a variable, put it in the loop, but the value is always the maximum value of the loop. I tried to say Variable=0 before but the result was still the same. The output is always 4 and Im at a loss why.

    Any help would be greatly appreciated. I want to create a 5 step wizard where the clicking of the button “Next_Step” will add one to the count until I reach 4, then set the variable back to 0.

    Attachments:
    You must be logged in to view attached files.
    #38360
    ocularvr
    Customer

    I have it working, but in a different way. Please let me know if this is correct or if this is a bad way of doing it. Thanks

    Attachments:
    You must be logged in to view attached files.
    #38382
    GLiFTeK
    Customer

    Hi,
    First of all,you can use the increment variable puzzle to count up. (Top of variables puzzles menu)

    Then use just 1 if statement of if count = 4 …
    Set count = 0.

    No need for a loop here I don’t think.

    Tell me how it works out for ya.
    :good:

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.