GW-BASIC COMMANDS
BASIC PROGRAMMING
BASIC PROGRAMMING:
Basic Programming has some features as under:
It is EASY
It is USER FRIENDLY language
It is NOT a specific language but it can be USED GENERALLY
SYNTAX of this language is very SIMPLE
It can be HELP us in SCIENTIFIC PROGRAMMING
COMMUNICATION from this language is SIMPLE
COMMUNICATION from this language is SIMPLE
CHARACTER SET IN BASIC LANGUAGE:
Alphabetic CharactersNumeric CharactersSpecial CharactersAlphanumeric Characters (Relational)
GW-BASIC COMMANDS
IMPORTANT COMMANDS USED IN BASIC PROGRAMMING
Some Commands that are mostly used in the basic programming are as shown under:
AUTO
· It generates AUTOMATIC line number
· Each time <ENTER> key must be pressed
KILL
· It is used to DELETE A FILE from disk
· Press KILL<filename> to delete all files from the disk
LIST
· It is used to display PROGRAM & PART OF PROGRAM CURRENTLY in the memory
LIST
It will show you the LIST OF ALL PROGRAMS
LIST 20–40
It will show you list of all programs between 20–40 lines
LIST 40 –
It will show you list of all programs after line No 40
LIST – 40
It will show you list of all programs before line No 40
LOAD
· It is used to LOAD A FILE from disk into Memory
NEW
· It means to DELETE / CLEAR all programs and variables.
RENUM
· To Renumber program lines
· Without changing the order of program lines
RUN
· It is used to EXECUTE / RUN the program.
SAVE
· It is used to SAVE A PROGRAM FILE on drive
SYSTEM
· Used to exit BSIC to return to DOS
Comments
Post a Comment