Wiki source code of Repeat [value] times
Last modified by admin on 2023/10/24 12:02
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box infomessage" %) | ||
2 | ((( | ||
3 | Creates a loop and repeats the bricks within the loop a specified amount of times. | ||
4 | |||
5 | [[image:repeat_brick2.png||alt="Repeat [value] times Brick"]] | ||
6 | |||
7 | The "End of loop" will be created automatically. | ||
8 | |||
9 | [[image:end-of-loop.png]] | ||
10 | ))) | ||
11 | |||
12 | (% class="row" %) | ||
13 | ((( | ||
14 | (% class="col-xs-12 col-sm-6" %) | ||
15 | ((( | ||
16 | (% class="box" %) | ||
17 | ((( | ||
18 | ==== **Example** ==== | ||
19 | |||
20 | After repeating three times the script ends. | ||
21 | |||
22 | [[image:repeat__times.png||alt="Repeat [value] times Example"]] | ||
23 | ))) | ||
24 | ))) | ||
25 | |||
26 | (% class="col-xs-12 col-sm-6" %) | ||
27 | ((( | ||
28 | (% class="box infomessage" %) | ||
29 | ((( | ||
30 | ==== **Result** ==== | ||
31 | |||
32 | [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/pocketcode/program/35716]] | ||
33 | |||
34 | [[image:repeat-__-times-2.gif||alt="Repeat [value] times Result"]] | ||
35 | ))) | ||
36 | ))) | ||
37 | ))) |