Microsoft QuickBASIC Programming
This page was designed to tutor BEGINNER programmers in "the art of
programming." I would suggest to anyone reading these tutorials that you
follow them in order even if they you are somewhat experienced with the basics
(no pun intended). This site is made up largely of example, because many
of the concepts put forth here may be hard to put in words.
We will be using the BASIC language for several reasons:
- First, BASIC is among the highest level of programming languages,
meaning that it is one of the most human-like languages. Other high level
languages are C, C++, COBOL, FORTRAN, among others.
- Secondly, most of it can be directly transferred into Microsoft®
Visual Basic®. Visual Basic® is the most modern implementation
of the BASIC language, which includes "everything you need to quickly and
easily learn Windows®-based programming."
- Thirdly, most users can easily obtain a copy of QBASIC. Any user
of Microsoft® Windows® 9x or MS-DOS 6.x has legal license to have
a copy of QBASIC. You may find it on your Windows® 95/98 CD-ROM or
if you can't find it you may download it from this site under our downloads section. I am still looking in to Windows®
ME/XP users. For now, I don't think Microsoft will mind if you go to their
support website and download the file named "olddos.exe" which is a compressed
file archive containing QBASIC and the QBASIC Help file. If you can't seem
to locate it there, you can go to www.google.com
and search "olddos.exe". To get the best results here, be sure to place
the quotes around the search word so that google will perform an exact phrase
match search.
Right now you might be wondering, "why is BASIC in all caps?" No, the
webmaster didn't have a pinky spasm while typing this page. BASIC is an
acronym for Beginners All-Purpose Symbolic Instruction Code. So, keep that
in mind for when there is a quiz on that in the future (you think I'm joking,
don't you).
In a perfect world I wouldn't have to say this but, I would ask that no
one copy these tutorials and put them on any other web page without the
express written permission of the author(s).
Contents
History of the BASIC Language
The CLS Statement
The PRINT Statement
The INPUT Statement
The IF-THEN Structure
The Select Case Structure
The FOR-NEXT Loop
Mathematical Operations in BASIC
Authors
Last Updated on October 2, 2002 by Jared P. Sutton