Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
9 Cards in this Set
- Front
- Back
Text Window |
The window where you write your code and your code is displayed |
|
Variable |
Used to store a value that will change eg name, height etc. There are rules for naming eg you can't use key words like if or symbols like + |
|
Write |
Allows you to write some text but does not start a new line Textwindow.Write(“Hello,”) Textwindow.Write(“World”) |
|
WriteLine |
Allows you to write a line of text into the window and starts on a new line Textwindow.Writeline(“Hello, World”) |
|
Read |
Allows you to use a user input in your coding TextWindow.Write("What's your name : ") Name = TextWindow.Read() TextWindow.WriteLine("Hello " + name + ".") |
|
Pause |
Stops the program and displays the message ‘press any key to continue’ and then waitsuntil the user presses a key Textwindow.Pause() |
|
Clear |
Clears the contents of the text window and resets it to a black background Textwindow.Clear() |
|
Title |
Changes the title of the textwindow Textwindow.Title = “SmallBasic is great!” |
|
If and ElseIf |
This functions allows a specific response to a user input variable If answer = Paris then TextWindow.WriteLine ("Well done!") ElseIf TextWindow.WriteLine ("Incorrect!") |