Page 70 - ThinkGPT_V2.1_C8_Flipbook
P. 70

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.



                       68    Premium Edition-VIII
   65   66   67   68   69   70   71   72   73   74   75