MSW LOGO
INTRODUCTION
WHAT IS LOGO
LOGO is a graphical programming language which is used to apply commands to move a
turtle around the screen as the drawing goes.
MSWLOGO SCREEN LAYOUT
TITLEBAR
MENUBAR
TURTLES
PLAYGROUND
ERNESTINE
COMMANDER
WINDOW
COMMANDER BOX
INPUT BOX
Page
COMMANDER BUTTON
LOGO COMMANDS
ST SHOW TURTLE
HT HIDE TURTLE
FD FORWARD
BK BACKWARD
LT LEFT
RT RIGHT
HOME- BACK TO WHERE YOU STARTED
CS CLEARSCREEN
SETPC SET PEN COLOUR
SETSC SCREEN COLOUR
PPT PEN PAINT
PE PEN ERASE
PU PEN UP
PD PEN DOWN
ST (SHOW TURTLE) COMMAND
When you type ST, the screen will clear and the turtle will appear in the middle of the
screen.
ST (HIDE TURTLE) COMMAND
When you type HT, the turtle will disappear from the screen.
FD (FORWARD)
When you type ST, followed by FD 100, the turtle will draw a line of length 100 turtle
steps
Page
BK (BACKWARD)
When you type BK, the turtle will move backwards for example BK 140.
LT (LEFT)
This command allows the turtle to turn left at a desired angle example when you type LT
90.
Page
RT (RIGHT)
This command allows the turtle to turn right by typing the following commands
RT 90
FD 50
HOME (BACK TO WHERE YOU STARTED)
No matter where the turtle is on or off the screen, you can bring it back to the starting
point by typing HOME.
Page
CS (CLEARSCREEN)
Typing CS will clear the screen and appears the turtle to the center of the screen
SETPC (SET PENCOLOUR)
To change the pen color you want to draw with, you can set the pen colour by typing the
command SETPC followed with the number for each colour example SETPC 1
COLOUR NUMBER
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Page
COLOUR
Black
Blue
Green
Light Blue
Red
Magenta
Yellow
White
Brown
Light Blue
Light Green
Light Cyan
Light Red
Light Magenta
Orange
Light Grey
SETSC (SCREEN COLOUR)
To change the screen colour, you can type the command SETSC followed with the
number for each colour example SETSC 1
PE (PEN ERASE)
To erase a line, type the command PE and move the turtle forward or backwards to the
required steps.
PPT (PEN PAINT)
After using the PE command, type in the command PPT to draw back the line. Please
take note if this command is not typed, no lines can be observed drawn on the screen.
PU (PEN UP)
By using this command, the turtle will be lifted up the screen and it can be moved
forward or backward without a line appearing.
PD (PEN DOWN)
By using this command, the turtle will be placed back on the screen and it can be moved
forward or backward with a line appearing.
NORTH
ANGLES
0
315
WEST
45
270
90
225
135
180
SOUTH
Page
EAST