Page 112 - CG_v2.1_flipBooks_class_6
P. 112

6  Drag the if-then block and drop it below
                                                                 the set to block inside the on start block.















                             5  Click on the
                             Logic blocks
                             category.








                                                                                        8  Drag the num variable
                                                                                        from the Variables blocks
                         7  Drag the less than                                          category and drop it into
                         block from the Logic                                           the first value box of the
                         blocks category and drop                                       less than block.
                         it into the condition area.


                                                                                        9  Click on the down
                                                                                        arrow of the less
                                                                                        than block and select
                                                                                        the > sign.













                                   10 Drag the splash block
                                  from the Game blocks
                                  category and drop it
                                  inside the if block.






                                                                  11  Type Number is positive in the
                                                                  message area of the splash block.







                      110    Computer Genius (V2.1)-VI
   107   108   109   110   111   112   113   114   115   116   117