Page 97 - TechPluse_C6_Flipbook
P. 97

Title Bar


                                                                                                        Toolbar





                                                                                                        Text Output
                     Editor                                                                             Area








                                                                                                        Graphics
                                                                                                        Output Area






                    Title Bar: It gives us the information about the program in which we are working.
                     Editor: It is identified as the area where we write our BASIC-256 programs. When we open a
                     saved program, it will show up in this editor. We can then modify it and save it for later use.

                     Toolbar: It is used to give commands. It contains commands like New, Open, Save, Cut, Copy,
                     Paste and Run. We can use these commands by clicking on the command buttons.

                     Text Output Area: When we write a program in the Editor and run a program, the output
                     appears in this area.

                     Graphics Output Area: This is an area where graphical elements like shapes and pictures
                     that you create are displayed.

                     CREATING YOUR FIRST BASIC-256 PROGRAM

                 A normal BASIC-256 program is made up of statements. Each line of the program represents a
                 statement and each statement is a command for the computer. When we give the command to
                 BASIC-256 to execute a program, it reads the first statement. It understands what we’re trying to
                 say  and  then  executes  our  instructions.  After  executing  our  first  statement,  it  returns  to the
                 program and executes the next line. The
                 process continues till it reaches the end of
                 the program.

                 Follow these steps to create a program in
                 BASIC-256:

                 Step 1    Click in the Editor window.

                 Step 2    At line no. 1. type the following
                           statement:
                                                                                  Typing a program
                           PRINT "Hello World"

                                                                                     Introduction to BASIC-256       95
   92   93   94   95   96   97   98   99   100   101   102