Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
You can change this under Settings & Account at any time.
BBC Basic Programming
Transcript of BBC Basic Programming
Works very well, preceding the PRINT command.
If INPUT is typed, followed by a word of your choice (providing it ends with a $ sign) then when the program is run, if you type your input text (without the $ sign) then it will reply with the text you have commanded it to PRINT. Don't forget... If your variable name is a number, then just use a letter or a
eg. num, n or N - would all be acceptable variable names and
would all appear in a program like this:
N = 12
If it is just a string of characters, then the dollar sign is used
after the variable name.
eg. name$, n$ or N$ - would all be okay, and appear in a program
n$ = "Fred" REPEAT...UNTIL Will repeat your commands until a certain
specific command, letter, number or word
is inserted. 1. Click the 'start' button in the
bottom left hand corner of your page.
2. Put the cursor on 'all programs'.
3. Put the cursor on '!Curriculum'
4. Put the cursor on 'ICT'.
5. Click on 'BBC Basic Programming'. CLS This command will clear everything on the screen.
Literal translation is 'clear screen'. IF...THEN IF...THEN command will give a response to
whatever command is typed in.
eg. IF G LESS THAN ... THEN PRINT 'TOO LOW' Simple Commands INPUTS Variables How to load REM
REM means remark.
The computer will just ignore this command and do nothing.
Tells the computer to print the text typed afterwards when the program is run (providing the text is in speech marks) ex. PRINT "HELLO" These are areas of storage within the
computer and variables act as labels.
These can be thought as being like
pigeon holes for post.
Once the memory locations are
labelled using variable names, the
computer will store what you want. RND Means 'random' < means greater than
> means less than
= means equal/equivalent to BY SASKIA LEACH 9RY_L4