So you'v decided to start programming, well qbasic is one of the best lerning programs there is, it was my first program as well.
10, 20, 30 -- Line numbers, they are used to name lines and to make linking easier.
PRINT " " -- This command is used if you want to write some thing in your program, you write betwen the " " marks.
CLS -- CLEAR SCREEN clears all of the above , use at the start of each program or group of lines, name them as well.
INPUT Q-- this is used if you want something to be entered into your program, ever new INPUT must have a new letter in front of it. Only letters can be used , numbers will not work.
COLOR 3 -- This is used to change the color of text.
REM-- This should be put on top of every program to remind you what the name is, REM= Reminder.
GOTO 30-- this can be usd at the bottom of every line or so , it tells the program where to go (or which line to go to).
END-- This terminates the programm and allowes you to back to windows or back to your program.
10 PRINT "hello" -- First we have the line number 10 , then the command print, and that line is priting hello on the programm.
20 Print "world"-- line number then the word world
30 END -- terminates program