Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 96 - 2609_Logiccode
P. 96

    LOGICAL OPERATORS

                      These operators are used to combine two or more conditions. The operator checks if the
                      conditions are true or false and gives the outcome.

                                                         This block  checks  if both  conditions  are true. It returns
                                           and
                                                        true if both are true and false if one or both are not.

                                                         This block checks if either of the two conditions is true. If at
                                            or
                                                        least one is true, it returns true, else it returns false.

                                                         This block is used to reverse the result of a given condition.
                                            not

                      For example, let’s create the given script:

                                     when   clicked

                                     if    100 >  50  and  100 >  60  then

                                        say  True, 100 is greater than 50 and 60
                                     else
                                        say  False, 50 and 60 is not greater than 100

                           Tick ( ) if you know this.
                           Operators blocks are used for mathematical calculations and logical comparisons.

                                CREATING CUSTOM SPRITES AND COSTUMES

                      You can edit as well as create your own sprites, backdrops and costumes with the help of

                      the Paint Editor tool. It offers two drawing modes to help you design custom graphics for
                      your projects:

                          Vector Mode: It lets you create smooth, stretchable shapes that stay sharp at any size.
                          Bitmap Mode: It works like painting with tiny dots (pixels), perfect for detailed freehand

                         drawings, like colouring or sketching.

                       94   Premium Edition-IV

| 91 92 93 94 95 96 97 98 99 100 101 |