Welcome to Pete's QBASIC Site!


FreeBasic Top 50

QB Top 50

Pete's Tutorials
QB TUTORIALS [ Beginners | Assembly | Game Design | Graphics | Sound | Miscellaneous | Pete's Tuts]

This is a series of basic QBASIC tutorials that I wrote way back in 1998 / early 1999. They're a great introduction to QB for someone who has never programmed before!

Description Link
1.) Tutorial #1: Introduction
Gives you basic history of computers and programming languages, discusses how to get QBASIC, and tells you some important QBASIC programming know-how. (Not about programming, but how to run QBASIC.)
.DOC Version
.TXT Version
HTML Version
2.) Tutorial #2: Guess The Number
A tutorial that shows you how to write your first program. It gives you source for a basic, text based guess the number game, and explains it to you, and how to use all of the commands used in the program. You learn REM, CLS, PRINT, INPUT, INT, SQR, LET, IF...THEN, FOR...NEXT, GOTO, RND, END, RANDOMIZE TIMER, Variables, String Variables, Integer Variables, Floating Point Variables, Line Numbers, Line Labels, Math Operands, and much more!
(Answers to tutorial two's challenges: here)
.DOC Version
.TXT Version
HTML Version
3.) Tutorial #3: Formatting Text
A tutorial that shows you how to change color and location of text. It goes over COLOR, LEFT$, RIGHT$, MID$, TAB, LOCATE, UCASE$, and LCASE$.
tutorial3.doc
.TXT Version
HTML Version
4.) Tutorial #4: Other Useful Commands
Covers INKEY$, INPUT$, DO...LOOP, UNTIL, WHILE, CHR$, ASC, SLEEP, Sub Routines, GOSUB, RETURN, Sample GOSUB/RETURN program, Seperate "page" subroutines, DECLARE, CALL, COMMON SHARED, EXIT SUB, and Algorithms.
tutorial4.doc
HTML Version


Copyright Pete's QBASIC / QuickBasic Site, 1998-2013.
All rights reserved. Site owned and operated by Pete Berg. Programs and submitted content are property of their creators, and appear on this site by direct or implied permission. Pete's QBasic Site is powered by Coranto. This site was created entirely in Notepad.