Step 2Step 2 Making a procedure for MSW Logo to follow
You can run a procedure by typing in the commander window it's name.
Let's make a procedure that draws a square on the screen.
Click File then edit in the main window then type in the name of the new procedure.
Type: Square
Then press enter or OK.
Click after the word Square and press enter.
How do you make a square easy , type:
FD 50 RT 90 four times
Then click File save and exit.
In the commander window type the procedure Square then execute and the turtle draws a 50 x 50 x 50 x 50 square.
Now click Edall in the commander window and go to the procedure square and delete the FD 50 and RT 90's.
Let's make the procedure again but lets make it shorter to type now type:
Repeat 4 FD 50 RT 90
Please put square brackets around FD 50 RT 90.
The repeat will repeat the commands in the brackets four times.
Now click File save and exit now go the commander window and type square again and press enter.
It draws a square on the screen.
Now that you know how to make a square it should be easy to make other shapes.
If you want to make a triangle , type instead of Repeat 4 FD 50 RT 90
Repeat 4 FD 50 RT 120
Please add square brackets around FD 50 RT 90.
I can't put square brackets because it will make a link to nowhere.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|












































