Page 86 - iPro_trackGPT_V5_Class6
P. 86

The Repeat Until block runs a set of instructions until a certain condition is
                                      met.



                  The Forever block runs a set of instructions continuously until you stop it.
                  The instructions inside this block will keep running in a loop until you click the
                  Stop button.


                  You can use the Repeat and Repeat Until blocks to display the multiplication table of a number
                  entered by the user. The script is as follows:





























                                                        Example of a looped script

                  The output of the program will be similar to this.






















                         Boost Bits


                   A loop is a process that instructs a computer to repeat a set of commands a specified
                   number of times.






                    84     TrackGPT iPRO (V5.0)-VI
   81   82   83   84   85   86   87   88   89   90   91