Welcome to Pete's QBASIC Site!


FreeBasic Top 50

Pete's Tutorials
TUTORIALS [ Beginners | Assembly | Game Design | Graphics | Sound | Miscellaneous | FreeBasic | 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
The Webpage
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
The Webpage
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
The Webpage
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


Copyright © Pete's QBASIC / QuickBasic Site, 1998-2008.
All rights reserved. Programs and graphics from programs 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.