Starting BBC BASIC -Tutorial 001
Click on the "BBC Basic for Windows Icon" on your desktop
to bring up the editing window, then click on the "immediate" button:
The"immediate mode" allows you to issue BBC BASIC instructions
to the computer and see the effect immediately. The new window which
has popped up has a ">" sign and a flashing prompt sign against it
where you can enter letters, figures or symbols from the keyboard.
The traditional starting point when learning BBC Basic is
to type:
PRINT "Hello"
When you press the "Enter key" on the keyboard you will see
that the computer has indeed printed the word within the speech
marks onto the screen. The computer is starting
to obey you!
Notice that the prompt sign has reappeared to
enable you to issue further instructions.
Try typing the following into the "immediate mode" window
and see the effect that you get when you press the "Enter key"
after each statement. You will soon be able to see how BB4W (BBC Basic
for Windows) operates....
PRINT "How does it do it?"
PRINT 5
PRINT 5+2
PRINT "5+2"
PRINT 6/3
PRINT 10*9
PRINT 10*(3+2)
PRINT 12/(5-3)
a=55
PRINT a
PRINT a/5
PRINT 10^2
PRINT 10^3
PRINT SQR(16)
PRINT SQR(2)
A$="This computer is a smart cookie"
PRINT A$
L=LEN(A$)
PRINT L
PRINT LEFT$(A$,13)
PRINT RIGHT$(A$,14)
PRINT MID$(A$,15,2)
MODE 8
COLOUR 129
COLOUR 3
MODE1
PRINT TIME$
PRINT "Today is ";LEFT$(TIME$,15)
PRINT "The time is ";RIGHT$(TIME$,10)
For EXTRA HELP with the above section click here
In our next tutorial we will start
to write PROGRAMS, made up of (slightly) longer series of instructions.
Click here to start to write programs
Richard Weston's Home Page