Page 106 - CG_v2.1_flipBooks_class_6
P. 106

3  Type the name
                          of your project.


                                                                                                 4  Click on the
                                                                                                Create button.




                                                                    7   Type a name for the variable.

                        6  Click on the
                       Make a Variable
                       button.




                         5  Click on the
                        Variables blocks
                        category.


                                                                                         8    Click on the Ok button.


                  The variable is created with the specified name (in our case it is a) and two new blocks:
                                 Block                       Name                         Description



                                                    set to                    Assign a value to a variable.



                                                                              Increase or decrease the value of a
                                                    change by
                                                                              variable by a specified amount.



                                                                        9  Drag the set to block and
                                                                       drop it inside the on start block.















                                                                          10  Change the value from 0 to
                                                                          10. The variable a is initialised.



                      104    Computer Genius (V2.1)-VI
   101   102   103   104   105   106   107   108   109   110   111