Page 42 - Touchcode_C7_Flipbook
P. 42

Step 6:  Create a variable ‘name’ and drop it to the ‘World’ of ‘join’ block.


















                   Step 7:  Click on ‘+’ symbol in the ‘join’ block. Write ‘Good Morning’ inside the second block.















                   Step 8:  Click on ‘Advanced’, select ‘Functions’ and then

                             click on ‘call Touchcode-7’. ‘call Touchcode-7’.
                   Step 9:  Change ‘abc’ to ‘a’ and drop ‘call Touchcode-7’ to

                             the ‘on start’ block.

                   Step 10: Click on the ‘on start’ block, ‘call Touchcode-7’,
                             will call the function, and the output will be:

























                       Well done, you have learned to call a function with a single parameter!






                   40     Touchcode-VII
   37   38   39   40   41   42   43   44   45   46   47