Gian's BASIC Tutorial


Hopefully, by now you will have found your BASIC compiler or interpreter by now, if not, go to the What do I need? section. Each time we cover something new I'll show you what the varitions could be, depending on which interpreter/compiler you have chosen. Hint In some interpreters/compilers you have to type the line numbers, others you don't e.g

10 Your code here.

Print Statements

A print statement is what you use to put writing on the screen, they're probably the simplest things to do. So we'll try making a program:

  1. Open the compiler you're going to use to make your program in.
  2. type in the following code:
10 print "Hello World"

When you run the program it should look like:

Hello World

The speech marks around it just tell your compiler "everything inside these marks needs to be put onto the screen" Now you can try putting whatever you want to inside the speech marks.

[Main]
This site was made by Gian Perrone ([email protected]) and was last updated on 12 Nov 1999