7/26/2023 0 Comments Omplayer loop chapter![]() ![]() “Loop C” has a single choice question, Q10.Īfter completing the nested loops section, I want to pull the answer that was coded in Q10, while the iterations state was this: “Loop A” was in its fourth iteration, “Loop B” was in its second iteration, and “Loop C” was in its fourth iteration. The list indexes order should be from the most outer loop to the most inner loop.Įxample: In my survey I have 3 nested loops, “Loop C” that is nested in “Loop B” that is nested in “Loop A”. To overdub on top of a recorded sequence, hold down OVER DUB and press PLAY START (the original recording is kept and the new sounds added to it). Hold down REC and press PLAY START if you want to record over the previous recording. GetParentIterationName(int level ): Gets a loop chapter’s level and returns its current iteration name (used exactly as is in GetParentIterationIndex()).ĬreateMultiIterationsString(int iterations ) :Gets a list of iteration indexes from all relevant loop chapters, and creates a indexes string to later use to pull values entered in a specific iterations state. : Example 2: Recording A Loop Chapter 3: Recording Sequences 14. SetTextFormat(CurrQues,SelectedAnswerTextIter(QRef(2),GetParentIterationIndex(1)) (“Loop A” is level 1 from “Loop B” point of view) So, I’ll put this code in the “loop b” question’s start script: I want to pipe the text of the selected answer in Q2 that is in loop A, inside the text of the question I’m in currently (in loop B). The current iterations state is: Loop A is in its second iteration, and loop B is in its fifth iteration. I’m currently inside a question in loop B. GetParentIterationIndex(int level ): Gets a loop chapter’s level and returns its current iteration index.Įxample: Loop A is the parent of Loop B. The following functions refer to referencing the Iteration sequence. GetParentIterationIndex (int level) : Gets a loop chapter’s level and returns its current iteration index. It is important to note that each iteration has its own execution order so in a given time during run time we may be at the (for example) 2 rd iteration of the outer loop, the 3 rditeration of the first inner loop and the 1 st iteration of the second inner loop (can be represented as iteration 2-3-1 for example). The following functions refer to referencing the Iteration sequence. For example, in the below screen shot, from “Loop 3″ point of view, its level is 0, its “parent” loop level (which is “Loop 2″) is 1, and its “grandparent” loop level (which is “Loop 1″) is 2. Yet from “Loop 2″ point of view, its own level is 0, and its “parent” loop level (“Loop 1″) is 1. Each chapter in a nested loops chapters structure has a “level index”, starting from the most inner loop, all the way up to the outer loop. ![]() So for instance, as you can see in the below screen shot, if chapter “Loop 2″ is nested in chapter “Loop 1″, then “Loop 1″ is considered as the “parent” of “Loop 2″: Nested loop (except for the most outer loop chapter / first loop chapter) is a sub-chapter of the loop chapter above it. ![]()
0 Comments
Leave a Reply. |