Russian Translation Coming Soon.
Tutorial One - Welcome to BASIC-256
Welcome to BASIC-256! BASIC-256 is a programming language that you can use to write your very own computer programs. These tutorials will show you how, step-by-step.
A computer program is a set of instructions that tells a computer what to do. The computer reads the instructions one at a time, and does exactly what they say.
Here's an example:
print "Welcome to BASIC-256!!!"
If you type that line into the BASIC-256 editor, and click the [Run] button, you should see a welcome message printed out in the Text Output window. If you don't see a welcome message, make sure you typed it exactly as shown and try again.
Now how does this work? You might already have guessed what the PRINT command does. The PRINT command prints a message onto the screen. The message has to be in quotation marks. You can change the welcome message to anything you'd like, as long as you put it in quotes. Let's try changing it now. Why don't we make the program more friendly and have it greet us by name?
print "Welcome to BASIC-256, Ian!!!"
(You can put your own name in -- Ian is my name) There, that's better. But what if we want the computer to say something else? Let's try adding another line to the program.
print "Welcome to BASIC-256, Ian!!!" print "How are you today?"
Now, when you run the program, you should see two lines printed out. Adding another line means that the computer runs the first line, and then the second one, in order.
Congratulations! You've finished the first tutorial. By now, you should understand:
- What a program is
- What the PRINT command does
Got it so far? Then let's go to the Tutorial Two!