Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 95 - 2505_CoreGPT(Podar)_Flipbook_C6
P. 95

    Step 3    Click on the BASIC-256 icon. The BASIC-256 window will appear.

                     BASIC-256 Environment

                     Let’s learn about the BASIC-256 environment.

                            Title Bar
                                                                                                        Toolbar

                                                                                                        Text Output
                                                                                                        Area
                             Editor

                                                                                                        Graphics
                                                                                                        Output Area

                        Title Bar: Displays information about the program that is currently open.
                         Editor: The area used to write BASIC-256 programs. When a saved program is opened, it
                         appears in this editor. The program can be modified and saved again for later use.

                         Toolbar: Provides quick access to commands such as New, Open, Save, Cut, Copy, Paste and
                         Run. These commands are used by clicking on the respective buttons.
                         Text Output Area: Shows the output  of a program  after  it is written  in the  Editor  and
                         executed.

                         Graphics Output Area: Displays graphical elements such as shapes and pictures created in
                         a program.

                           CREATING AND EXECUTING PROGRAMS

                     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 area.

                     Step 2    Type PRINT "Hello World"

                                                                                        Typing a program

                                                                                         Introduction to BASIC-256       93

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