Page 63 - Computer_Genius_v2.1_C7_flipbook
P. 63

The join block is used to concatenate (combine) two or more pieces of text (strings) together into
                 a single string. This block is particularly useful when you need to create a message or label that
                 combines static text with dynamic values, such as scores or player names.
                 When you run the project, the following output displays the first iteration of the while loop.































                 Now, click on the A button in the Game Controls to view the further output till it reaches the last
                 iteration of the while loop.
































                 Jump Statements

                 Jump statements in programming are used to change the flow of control by skipping, starting again
                 or exiting certain parts of the code. We can use break and continue statements for the same. These
                 statements are known as jump statements.



                                                                                Advanced MakeCode Arcade       61
   58   59   60   61   62   63   64   65   66   67   68