Create a function with its own canvas and call it from the main program.

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

  1. We create a text variable called terminal.
  2. We create a function called greet, which gets its own canvas.
  3. Inside the greet canvas we write hello world into terminal.
  4. Back in the main canvas we add the greet block, which calls the function.
  5. Behind it we add a While loop, which repeats forever.
  6. On the dashboard we draw a terminal and give it the variable terminal.

When you finish, the app takes you straight to the next tutorial in the path.

Build it in Nairda