Programming instructions by MSWLogo

MSWLogo is simple programming software for kids. Here's how to use MSWLogo for beginners.

Basically, MSWLogo is a simple programming training program. You only need to understand the commands to be able to create everything you want.

Minimum requirements when using MSWLogo

  • Computers with Pentium 2 processor or higher.
  • Operating system: Windows NT / 2K / XP / 95/98 / ME / VISTA.
  • Inquisitive.
  • Open thinking.
  • MSWLogo 6.5

Download MSWLogo

After downloading and installing the software, click Help> Demo and follow the instructions . This article will give you a few examples of what MSWLogo can do.

Step 1: Move the turtle

Programming instructions by MSWLogo

First, you will see a turtle located in the center of the screen. Getting started is simple. In the command prompt window, type in the box: Forward 50 .

Click the Execute button or press Enter on the keyboard, do this after typing everything into the command line window. This command will draw a line as long as 50 foot steps. Easy, right?

Note: You can shorten the command, for example, Forward 50 to FD 50.

If you want to line straight to the right, instead of pointing up, type:

RT 90 FD 50

This command rotates the turtle 90 degrees to the right and the turtle will move forward 50 steps.

When the screen becomes cluttered, type: clearscreen or CS (short). This command will clean up the screen and erase everything you've drawn and, at the same time, move the turtle to the upside.

If you want to rotate the turtle to the left, type:

LT 90

Next, type the command backward:

Back or BK 50

The turtle will step back 50 steps.

When there are too many commands from within the command prompt, type:

Cleartext or CT

Now you know all the basic commands of the MSWLogo programming software.

Step 2: Create a process for MSWLogo

Programming instructions by MSWLogo

Process (sequence of actions) is the steps the turtle will draw or create something. You can run the process by typing its name into the command line window.

To create the process of drawing squares on the screen. Click File , then, edit it in the main window, then type a new process name. Specific steps are as follows:

Type: Square , then Enter or OK . Click later from Square and press Enter . Continue typing:

FD 50 RT 90 four times

Then, click File save and exit .

In the command line window, type procedure Square> Execute . Then, the tortoise will draw a 50 x 50 x 50 x 50 square.

Now click Edall in the command line window and go to the square of the newly created process, delete the FD 50 RT 90 command .

Repeat the above steps again but type the shorter command:

[Repeat 4 FD 50 RT 90]

Now click File save and exit . Move to the command prompt window, type Square again and press Enter . The turtle will draw a square on the screen.

Once you know how to draw a square, you can easily create another shape. For example, to draw a triangle, change 4 FD 50 RT 90, to:

Repeat 4 FD 50 RT 120

Step 3: Setxy coordinates

Programming instructions by MSWLogo

The main screen of MSWLogo is like an invisible grid. You can move turtles to different positions by typing the coordinates.

  • The x coordinate moves the turtle left and right.
  • The coordinates y move the turtle up and down.

In the command prompt window, type:

Setxy 100 100

Then press Enter .

The turtle moves to the 100 coordinates of both x & y.

The software can then perform a different process, for example, Draw a square.

Step 4: Penup and Pendown

Programming instructions by MSWLogo

In this step, you will know that the turtle in MSWLogo is like a pen. At the command prompt, type:

Penup or PU (abbreviated) and FD 50

Then press Enter . This command will lift the turtle's pen. The turtle moves forward 50 steps but does not draw anything.

To put the stinger of the turtle down, type:

Pendown or PD

Now the turtle will draw pictures when moving.

Step 5: Create a window

Programming instructions by MSWLogo

MSWLogo will create a window containing clickable user buttons to run processes.

Let's start by creating a new process: Click File> Edit . Name the new process Box. Press Enter after from Box. Time to type:

windowcreate "main" mywindow "Autodraw 0 0 50 50 []

  • Autodraw is the display name of the box, mywindows is the MSW Logo name used for other activities.
  • 0 0 is the setxy coordinates of the box.
  • 50 50 is a boxy size.

Now type in the command prompt:

Box

Then press Enter .

This command will create a window at the top left of the screen.

Next, click Edall> Enter later (windowcreate "main" mywindow "Autodraw 0 0 50 50 [])

At this step, you can create some functional buttons. First, click the Reset button in the command window to clear the box. Type:

buttoncreate "mywindow" mybutton "Square 10 20 30 10 [square]

  • Mywindows is the name of the window containing the button.
  • Mybutton is the name used for other actions.
  • Square is the name of the button.
  • 10 20 is the Setxy coordinates
  • 30 10 is the button size.
  • The brackets around Square notify MSWLogo to run the square creation process when clicking the button.

Now type in the command prompt:

Box

Then press Enter .

A window will be created again, but this time, it has a button.

Finally, we need to create a window close button instead of having to press reset. Go to the process box, then press Enter after the button buttoncreate .

Type:

buttoncreate "mywindow" mybutton2 "Close 10 10 25 10 [windowdelete" mywindow]

The windowdelete command will delete a window but you must type "mywindow" first to notify the window software you want to delete.

Now go to the command prompt, type in the process box again and press Enter. We will have a window containing a button to draw a square and close the window.

This is the final result.

Programming instructions by MSWLogo

Hope the article is helpful to you!

Sign up and earn $1000 a day ⋙

Creative Projects: Fun DIY Ideas Using Your Phone and PC

Creative Projects: Fun DIY Ideas Using Your Phone and PC

Here are some fun DIY projects you can try using these gadgets alone. After using your Bob Casino login to play your favorite betting games, you’ll feel so refreshed, that you can dive in and get those creative juices directly flowing!

Things to Know About Slots

Things to Know About Slots

Before beginning to play slot PGBET, there are a few things you should understand to help make informed decisions and maximize enjoyment. Knowing these details will enable you to make better choices and have more fun!

Mahjong Mastery: A Beginners Guide to Success with BONS Casino

Mahjong Mastery: A Beginners Guide to Success with BONS Casino

Embark on your mahjong journey with confidence using this comprehensive beginner's guide from BONS Casino. Learn the master essential strategies.

Understanding eSports betting: everything that beginners want to know

Understanding eSports betting: everything that beginners want to know

eSports betting is fascinating and very entertaining, and for those of you who are now getting started with it, learning the basics and understanding the most important betting markets is paramount to help you succeed.

Summary of ways to use Game Bar on Windows 10

Summary of ways to use Game Bar on Windows 10

Summary of ways to use Game Bar on Windows 10, How to use Xbox Game Bar on Windows 10 is a question that many people are interested in. Join WebTech360

Counter-Strike: Global Offensive - PC Configuration for CSGO

Counter-Strike: Global Offensive - PC Configuration for CSGO

CSGO is a famous shooting strategy in the game. So let's explore the details of this game and configure the CS GO gaming computer.

Configure Mortal Kombat 11 game settings for computers

Configure Mortal Kombat 11 game settings for computers

Mortal Kombat 11 is a fighting game version that attracts a large number of players. To be able to play the game, you will need to learn about its settings.

Social Aspects of Sports Betting: Balancing Fun and Responsibility

Social Aspects of Sports Betting: Balancing Fun and Responsibility

Sports betting has become a popular form of entertainment and a lucrative industry across the globe. From the glitz and glamour of Las Vegas casinos to the convenience of online platforms, millions of people engage in sports betting for the thrill of the game and the potential to win big. 

Guide to Install LoL Configuration: Wild Rift Play Smoothly on PC

Guide to Install LoL Configuration: Wild Rift Play Smoothly on PC

After many days of anticipation, League of Legends: Wild Rift Mobile version released by VNG can be officially downloaded on both Android and iOS.

Reference Top 7 Best PC Strategy Games 2023

Reference Top 7 Best PC Strategy Games 2023

Want to find interesting computer games? The following article will introduce you to some of the best PC strategy games.

Top 5 Best Sniper Games For PC 2023 You Shouldnt Miss

Top 5 Best Sniper Games For PC 2023 You Shouldnt Miss

Shooting game, becoming a sniper, you definitely can't miss the following sniper games for PC. Let's find out with WebTech360!

Top 16 Best Racing Games For Computers and Phones You Probably Didnt Know

Top 16 Best Racing Games For Computers and Phones You Probably Didnt Know

If you want to fix your computer lag or slowness when playing games, let's join WebTech360 to refer to the top 6 best PC game acceleration software!

Summary of 5 Best PC Game Accelerator, Lag Reduction Software 2023

Summary of 5 Best PC Game Accelerator, Lag Reduction Software 2023

If you want to fix your computer lag or slowness when playing games, let's join WebTech360 to refer to the top 6 best PC game acceleration software!

Top 10 Best PC MOBA Games 2023 You Should Try

Top 10 Best PC MOBA Games 2023 You Should Try

Let's explore the best Moba game on PC with WebTech360 to try to choose the right one for your own preferences right through this article.

Top 10 Lightest PC Games For Young People Most Loved Today

Top 10 Lightest PC Games For Young People Most Loved Today

Light game for PC is the most searched keyword phrase on today's social networking sites and forums. So what are the best PC entertainment titles?

Top 10 Best Offline Games For IOS You Cant Miss 2023

Top 10 Best Offline Games For IOS You Cant Miss 2023

Good offline games for iOS are currently being searched by many young people. Because you don't need a 3/4G network, it's very convenient, you can play entertainment anytime, anywhere.

Top 10 Most Favorite Driving Simulator Games by Young People

Top 10 Most Favorite Driving Simulator Games by Young People

Driving simulation game is very popular with young people because it brings many strong feelings. So what are the best and most attractive driving games today?

Top 10 Super Attractive Google Games You Shouldnt Miss

Top 10 Super Attractive Google Games You Shouldnt Miss

Online gaming is becoming more and more popular. Pocket top 10 games on Google super attractive, interesting to experience gradually.

Top 10 Best and Most Attractive PC City Building Games

Top 10 Best and Most Attractive PC City Building Games

Are you looking for the hottest PC city building games today? Top games for those who love building and operating the city.

Top 10 Hottest Adventure Games On PC

Top 10 Hottest Adventure Games On PC

Adventure game is a game where you will transform into a character in the game. Adventure games often bring a sense of authenticity, attraction and drama to players.