Introduction to MicroWorlds EX™ - LOGO Programming

MicroWorlds EX™ is a software program that creates an environment for computer programming in the LOGO computer language. You can create a series of commands that the turtle will carry out. It is a great way to develop your logical thinking.


Lesson One: A Few Commands To Get You Started (No differences here between MW EX and MW Pro)

Remember, always leave a space between numbers and letters

COMMAND
RESULT (& additional notes)
fd 39
move forward 39 turtle steps (direction of "forward" always depends on the way the turtle is currently headed, or aimed.)
bk 54
move backward 54 turtle steps
rt 67
rt 67 right turn of 67 degrees (change in aim 67 degrees to the right)
lt 90
lt 90 left turn of 90 degrees (change in aim of 90 degrees to the left)
 
(Don’t forget that rt and lt don’t make the turtle go anywhere. They just aim it for the next move.)
 
 
home
moves the turtle directly to home position. Note that this will draw a line on the way there if the pen is down.
 
cg
clear graphics (clears screen and returns turtle to home position)
 
 
setc #

setc # sets the pen color to whatever # you choose for drawing purposes. (0-139)

 
 
setbg #
setbg # sets the background color to whatever # you choose (0-139, then they repeat)
 
 
repeat 7 [???]
repeats all commands & steps inside the brackets 7 times
repeat 3 [ rt 50 fd 80 ] gives the same result as typing: rt 50 fd 80 rt 50 fd 80 rt 50 fd 80
 
 
pu and pd
pu will put the pen up, which means the turtle will not draw a line when it moves.
pd will put the pen down, so the turtle will draw a line when it moves.
 
 
cc
clears any and all commands in the lower grey Command Center. This helps reduce clutter, but removes all previous commands that you have typed.
 
 
ct
clear text. This will remove any text from a textbox that you may have on the main display screen.

Step 2: Procedures in MicroWorlds EX

Main MicroWorlds EX Tips Page



HTS Home | Calendar | Classes | Departments | Resources | What's New? Newsletter
©2008 Holy Trinity School HTS HomeContact HTS