A QBASIC program consists of lines containing..
1. A line number
2. A QBASIC keyword like PRINT,END etc
3. Each program line begins with positive number.
4. No two lines should have same number.
WRITING A NEW PROGRAM
It is possible to overwrite lines with the new statements, but if you want to write a totally new program use a NEW command.
EXITING QBASIC
In order to exit the QBASIC program SYSTEM command is used.
1. A line number
2. A QBASIC keyword like PRINT,END etc
3. Each program line begins with positive number.
4. No two lines should have same number.
RUNNING A PROGRAM
RUN is the command used to execute the program and get the output on the screen.
It is possible to overwrite lines with the new statements, but if you want to write a totally new program use a NEW command.
EXITING QBASIC
In order to exit the QBASIC program SYSTEM command is used.
No comments:
Write comments