Basic HTML Version

|  | Table of Contents |  | View Full Version

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

    The  file  will  be  saved  by  the  given  name            Tech Funda
                     at  the  selected  location.  The  extension  of
                     BASIC-256 files is .kbs. The path of the saved
                                                                              To save a program- Ctrl + Shift + S
                     file appears at the top of the Editor in place
                     of Untitled.
                     Opening a Program

                     Follow these steps to open a BASIC-256 program.

                     Step 1      Click on the Open      button in the toolbar. The Open a file dialog box appears.
                     Step 2      Browse to the location of your saved program.

                     Step 3    Select the program you want to open.
                     Step 4    Click on Open button. The program will open.

                           ELEMENTS OF BASIC-256 PROGRAMMING

                     Now it is time to learn about the basic elements of the BASIC-256 programming language.
                     Variables

                     A  variable  is used  to  store  different  kinds of  information,  such  as  text  or  a  number,  in  the
                     computer’s memory. When we store a value or information in a variable, it overwrites the previous
                     information stored in it. It can contain different values at different points in time.

                     To create variables in BASIC-256, we use the assignment operator. Following are the examples
                     of defining variables:

                         Number = 5

                         Fruit = "Apple"

                         Marks = 50.5

                                                                                         Introduction to BASIC-256       95

| 92 93 94 95 96 97 98 99 100 101 102 |