Page 67 - Touchcode_C7_Flipbook
P. 67

Step 10: In the second part of ‘join’ block, add ‘list get value at’ block.






                  Step 11: Now click on the drop-down of ‘list’ block, and select ‘arr’.






                  Step 12: From ‘Game’ select, splash block, and move the ‘join’ block to splash bock.

                  Step 13: Move the ‘splash’ block to ‘on start’ block, and place it below the ‘set arr’ block.





















                  Step 14: Click on ‘‘Start the simulator’ button to view the output.

























                      Well done, you have learned to print  the first element of the array.




                                                                            Understanding Arrays & Collections   65
   62   63   64   65   66   67   68   69   70   71   72