Add rows with Repeat and watch the table grow with the Height block.
This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on.
The steps
- We create a table called data.
- We create a number variable called rows.
- We add a Repeat loop and ask it for 3 turns.
- Inside the Repeat we add a row to the table.
- Behind it we set rows to the Height of the table, which counts how many there are.
- On the dashboard we draw a label and give it the variable rows.
When you finish, the app takes you straight to the next tutorial in the path.