Running your first code using QBasic is very simple and entertaining for a beginner. There are lots of features in QBasic that that help most users nationwide to execute and ascertain what is needed.
Some of the features are:
*Interactive Development Environment
*Procedural Programming
*Basic Syntaxes
*Built-in functions and statements
*Compatibility with other BASIC dialects
How to write your first code
Double click on the QBasic Icon on desktop or simply launch your QBasic application and start work
In line 1, type CLS
Press the enter key
type REM
Press the enter key
Type: PRINT “I am a Programmer”
Press the enter key
type END
Press the enter key
Press F5 to run the application or the program
OR
Click on the run command from the menu bar to run the code.
Congratulations, your code was successfully run.
NOTE:
In addition and manually, when a user run the program, it will display the message inputted in the command line on the screen as an output. However, the PRINT statement is used to output text or variables to the screen. It is a command that also helps most users nationwide or programmers to execute the output of the input command successfully.
The END statement is used to signal the end of the program or the command.
I hope this helps you get started with QBasic! Should you have any questions, please feel free to ask any general question concerning programming.
About Author
Discover more from SURFCLOUD TECHNOLOGY
Subscribe to get the latest posts sent to your email.