hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    How to use "For Each" tag loop on each object

    Scheduled Pinned Locked Moved
    Help and Support
    3
    116
    6.9k
    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.
    • D
      Deeeds @Kamdroid
      last edited by

      @Kamdroid

      it only takes a couple of seconds

      No. this is absolute nonsense. Patently false.

      If it only took a couple of seconds, I'd sometimes have done it.

      Save my project... several minutes, sometimes as much as minutes.

      Recreate the issue in another project that isolates this problem.

      Several minutes, depending on the problem. And there's no way to copy anything from one project to another...

      etc.

      And, secondly, there's no need, in this case or any of the others I've posited so far.

      A brief scan of what could go wrong isolates where someone might go wrong.

      I even speculated about it before I figured it out, and got that right.

      For someone familiar with the process it must be much more obvious where the tripping points are.

      ....

      A better question, why aren't there isolate examples of using every single feature of hyperPad if it's so easy to share?

      KamdroidK 1 Reply Last reply Reply Quote 0
      • D
        Deeeds @iTap Development
        last edited by

        @iTap-Development

        During the building of your project you changed the type of array.

        Why did you do this?

        Can you explain the differences between operating on a Value Type array with an Array Modifier versus operating on a Behaviour Type Array?

        @Kamdroid can you explain the differences between these two types of arrays and why operations of append do not work with one, but do with another?

        Interestingly, there's no difference in getting values from either type.

        So, the question becomes... is something about the Array Value Type broken? Should it behave in the same manner when amending values to an empty array?

        iTap DevelopmentI 1 Reply Last reply Reply Quote 0
        • iTap DevelopmentI
          iTap Development @Deeeds
          last edited by

          @Deeeds all I did was choose to use a pre-made array since it’s easier if you don’t need anything nested or whatever. The difference? On a behavior type array, to modify you just need to select the array behavior you want to modify....simple.
          On the value type array, unless you put in an array for the value, it’s making a new array. And then to use that array with anything else, you have to use that modify array’s output.
          I don’t know if if this is what you were doing, but you can’t like type the name of a behavior array in the value type input field.

          D 1 Reply Last reply Reply Quote 0
          • D
            Deeeds @iTap Development
            last edited by

            @iTap-Development Are we looking at the same thing?

            iTap DevelopmentI 2 Replies Last reply Reply Quote 0
            • iTap DevelopmentI
              iTap Development @Deeeds
              last edited by

              @Deeeds you tell me!

              1 Reply Last reply Reply Quote 0
              • iTap DevelopmentI
                iTap Development @Deeeds
                last edited by

                @Deeeds can you post a screen shot? Or is that too much like a project?

                D 1 Reply Last reply Reply Quote 0
                • D
                  Deeeds @iTap Development
                  last edited by

                  @iTap-Development No need for the attempts at asides. Don't poke a bear, etc...

                  The question remains the same, why doesn't this work?

                  0_1511233996799_Screen Shot 2017-11-21 at 11.12.56 AM.png

                  iTap DevelopmentI 2 Replies Last reply Reply Quote 0
                  • iTap DevelopmentI
                    iTap Development @Deeeds
                    last edited by

                    @Deeeds if you want to set it up like that, you’ll need to SET the behavior array to the modify output. When you drag the behavior array output into the value input, it basically is only a copy of what the behavior array was. It’s not actually modifying the behavior array. Which is why, in this case, you would modify as a behavior type array.

                    D 1 Reply Last reply Reply Quote 0
                    • iTap DevelopmentI
                      iTap Development @Deeeds
                      last edited by

                      @Deeeds if that doesn’t make sense, send it and I can show you😄

                      1 Reply Last reply Reply Quote 0
                      • D
                        Deeeds @iTap Development
                        last edited by

                        @iTap-Development Just explain, where is the modify Array output?

                        iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                        • iTap DevelopmentI
                          iTap Development @Deeeds
                          last edited by

                          @Deeeds 0_1511234486147_AAEFC39D-9AB6-4F39-9FED-CFDC4C3C17D8.jpeg

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Deeeds @iTap Development
                            last edited by

                            @iTap-Development So I'd have to replace the array to do it this way?

                            iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                            • iTap DevelopmentI
                              iTap Development @Deeeds
                              last edited by

                              @Deeeds what do you mean?

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                Deeeds @iTap Development
                                last edited by

                                @iTap-Development The output from this operation, using the Modify Array in this way, is going to be a whole array, right?

                                iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                                • iTap DevelopmentI
                                  iTap Development @Deeeds
                                  last edited by

                                  @Deeeds yes it would. Which means you would have to set the behavior array to that output.
                                  And at that point it doesn’t make sense to do it this way.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    Deeeds @iTap Development
                                    last edited by

                                    @iTap-Development That's what I mean, you're overwriting the array. Right? Can it be done? Does it work?

                                    iTap DevelopmentI 2 Replies Last reply Reply Quote 0
                                    • iTap DevelopmentI
                                      iTap Development @Deeeds
                                      last edited by

                                      @Deeeds yes, if you set the modification to SET and actually choose the array behavior(not how you did in the screen shot) it will overwrite the behavior array with the modify output.

                                      1 Reply Last reply Reply Quote 0
                                      • iTap DevelopmentI
                                        iTap Development @Deeeds
                                        last edited by

                                        @Deeeds but like I said, there no point doing it that way. In this case.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          Deeeds @iTap Development
                                          last edited by

                                          @iTap-Development

                                          Can you explain how you came to understand that Value Type arrays are copies of the original?

                                          iTap DevelopmentI 2 Replies Last reply Reply Quote 0
                                          • iTap DevelopmentI
                                            iTap Development @Deeeds
                                            last edited by

                                            @Deeeds played with them for an afternoon when they came out. Probably asked a question or two.
                                            It’s not that complicated.

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