How do I learn QBasic
BASIC tutorial (preface, installation, chapters 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
Author: Ing.Andreas Hammer, MSc (WU)
This document, the design of the page and the source code contained therein are protected by copyright.
Private use is free of charge.
Commercial use as well as use in schools, other training facilities (in the broadest sense) as well as for in-company training and further education require the consent of the author.
In this case, please contact me by email ().
It is NOT allowed to redistribute this document!
It doesn't matter which medium is used. It is therefore NOT permitted to distribute this document on the Internet. This also includes mirroring on other servers. Instead, please set a link, also to a single page or paragraph. You may of course quote from this document - within the framework of a common quotation (please cite source).
In the following, only the masculine form is used for the sake of simplicity and easier readability. Both genders are of course meant. For the correctness, completeness and topicality of the conveyed content no liability accepted! The use takes place in this way at your own risk!
I am grateful for feedback, references to errors and mistakes (feedback).
This tutorial was written by me in 2001. In 2008 I proofread the tutorial completely, improved it in many places, made additions and tested all source code examples. I will now explain QBasic under DOS and Linux with DOSBox, but also the use of FreeBasic. The tutorial is kept in a very simple and easy to understand form. I consciously tried to keep this style.
Addition from April 30th, 2020:
This tutorial is no longer maintained or updated, the original text is now almost 20 years old.
Unfortunately, QBasic is no longer available on the Microsoft FTP servers.
I advise beginners to learn common languages such as C or Python instead.
What is BASIC? Is BASIC suitable for me? Chapter 2 of the introduction.
Why learn BASIC?
Granted, most of the forewords start out more euphoric. With many thanks and particularly important and noteworthy things on the topic. If it is also a new Programming language, about which much has been said and written, the reader must be told how precisely this language will change the world.
It's different with BASIC. The days of BASIC are over.
But BASIC is one thing: history! In a positive sense.
Few languages have shaped computer history like BASIC!
BASIC is a family of programming languages and dialects without standardization. The first BASIC dialect was developed back in 1963 (Dartmouth BASIC) to make computers easier for non-tech students. This was followed by numerous other dialects, Bill Gates developed with Paul Allen Altair BASIC up to QBasic and modern languages derived from BASIC.
Interesting links on the topic: BASIC generations, BASIC history from the point of view of Visual Basic.
Learning BASIC is a good idea if you want to test and try out nostalgic software. If you aren't the youngest reader here, you'll still be DOS games as well Text adventures know. Many of them are written in BASIC. But BASIC interpreters can sometimes still be found on newer hardware. If you have a Texas Instruments pocket calculator (graphics calculator), e.g. Voyage 200 or TI89 (both current models!), You can program this calculator in BASIC (TI BASIC, unofficial name).
Another possible reason is that you are using applications for Windows platforms Visual Basic .NET, VBScript and want to develop similar languages and also want to get to know the "Ur-BASIC". With Visual Basic .NET you can "Create Windows, Web, Mobile and Office applications"(Source: Microsoft).
For Linux users, be the programming language and IDE Prawns (recursive abbreviation for Gambas almost means basic) called. Gambas is object-oriented, based on BASIC and is similar to Visual Basic, but is not compatible with it (not a clone!).
The aim, meaning and purpose of this tutorial
When I announced my plans for a relaunch of Tutorials.at (around May 2008), one of my plans was to revise the BASIC tutorial. I was then advised not just to let it go, but to take it completely offline and to concentrate more on more up-to-date languages.
However, it was clear to me that the BASIC tutorial had to stay online in 2008/2009 and beyond. There have been no books on BASIC for at least 10 years and online sources are also decreasing. Although this is offset by falling demand, the tutorial should nevertheless provide the necessary information - albeit for a small target group - and in a certain way contribute to gaining knowledge.
The tutorial is aimed at beginners in programming. Programming skills are not required. However, it is important to have a basic knowledge of the operating system used (e.g. Windows or Linux)! The latter is always a prerequisite before you want to start programming. I am describing a BASIC dialect of a "higher" - third - generation. The source codes printed in the tutorial are with QBasic compatible.
- Why are files downloading so slowly?
- What are quantum computers used for?
- What is the most trusted website
- Robots destroy our planet
- Which surveillance cameras are the best
- Why do particles of matter always move?
- Where do we park vehicles
- Which is better IITB or IITD Hostel
- What's the best way to brainstorm
- Dentists are ever bored of teeth
- Why did Mandela die
- You can refuse to trust your parents
- Who is the child in Revelation 12?
- Will robots have rights as humans
- How do hydraulic and pneumatic systems work
- What's the best BBQ in Texas
- Do you hear Tupac
- What is a digestive tract in biology
- Does CyberGhost work with Netflix
- Why is Ireland a third world country
- Why didn't we fully understand our brain?
- What are some magic tricks
- Have you ever toasted a rich person
- What should an accountant's résumé look like