Page 84 - IT_V5.0_Class8
P. 84

Block                          Explanation

                                                  Checks if the first number is equal to the second number.



                                                  Checks if both conditions are true.


                                                  Checks if at least one of the conditions is true.



                                                  Checks if the condition is not true.


                                                  Joins two strings together.



                                                  Reports the letter at the specified position in the string.


                                                  Reports the length of the string.



                                                  Checks if the string contains the specified character.

                                                  Reports the remainder of the division of the first number by the
                                                  second number.


                                                  Rounds the number to the nearest integer.


                                                  Reports  the  absolute  value,  floor,  ceiling,  square  root,  sine,
                                                  cosine, tangent, etc., of the number.


                  Example 14: When the Green Flag is clicked, the sprite sets its colour effect to 17 (12 + 5),
                  thinks “Hmm” for a random duration between 1 and 10 seconds, and then sets its size to 100%
                  (10 * 10%).




























                    82    Information Technology (V5.0)-VIII
   79   80   81   82   83   84   85   86   87   88   89