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 ⋙

Leave a Comment

Experience AtlasOS, a super-light version of Windows 10 optimized for gaming

Experience AtlasOS, a super-light version of Windows 10 optimized for gaming

AtlasOS is a redesign of Windows 10 for gamers, enabling smooth gameplay, higher FPS, and lower input and latency even on low-end PCs.

Programming the game Cat and Mouse with Scratch

Programming the game Cat and Mouse with Scratch

We have learned how to program the game Catching Apples and Racing Animals with Scratch. Next, let's learn how to program the game Cat Chasing Mouse.

Top 8 Tips for Gaming Beginners

Top 8 Tips for Gaming Beginners

Whether you're a curious newcomer or someone looking to pick up an old controller, starting your gaming journey can be both exciting and intimidating. However, with the right advice, getting into gaming can be a fun and rewarding experience.

How to reset PS4 game controller

How to reset PS4 game controller

By simply resetting your PlayStation 4 controller, you can fix almost all pairing issues, as well as many other common problems.

Apple is developing a dedicated iOS game store

Apple is developing a dedicated iOS game store

If you are someone who likes to learn about iPhone and iOS operating system, you must have followed the development of classic game emulators for iPhone.

Top 10 best educational games for kids on mobile

Top 10 best educational games for kids on mobile

Most kids prefer to play rather than study. However, these mobile games that are both educational and entertaining will appeal to young kids.

How to play dinosaur games right on Android screen

How to play dinosaur games right on Android screen

The T-rex dinosaur game is very familiar to many people and you can enjoy this T-rex dinosaur game right on your Android screen.

Sword World Origin: Overview of 10 sects in the game

Sword World Origin: Overview of 10 sects in the game

Kiem The Origin - the mobile version of Kiem The on PC released by VNGGame. Like the previous PC version, Kiem The Origin owns 10 sects with 20 different systems for you to freely choose your own gameplay.

Call of Duty fights hacking by making real gamers invisible

Call of Duty fights hacking by making real gamers invisible

A new anti-hack, anti-cheat method is being developed by the game Call of Duty.

How to hide ads when playing games on your phone

How to hide ads when playing games on your phone

Turn off ads while playing games, something that many mobile gamers want after finishing a round.

How to get free mobile games on Epic Games Store

How to get free mobile games on Epic Games Store

Epic Games Store on Android has a free game download program like on PC. Here is a guide to get free mobile games on Epic Games Store.

Instructions for playing Pokemon catching game on Google

Instructions for playing Pokemon catching game on Google

Just by searching Pokemon names on Google, you will collect the latest Pokemon characters.

Tencent brings Android games to Microsoft Store Windows 11

Tencent brings Android games to Microsoft Store Windows 11

Earlier this year, Microsoft announced its decision to discontinue the Windows Subsystem for Android, which was designed to allow Android apps to run natively on Windows 11.

Special characters ϟ, ✿, \˚ㄥ˚\, ☎,☂, ☁ special characters or

Special characters ϟ, ✿, \˚ㄥ˚\, ☎,☂, ☁ special characters or

Special characters do not appear on the keyboard, but you have to find them in special ways. With the pre-made character table below, you just need to write the content or a character name that you want to put in the game, then copy the text format that you like best!

How to Never Pay for Games and Apps on Android

How to Never Pay for Games and Apps on Android

When it comes to making purchases on the Play Store, many people haven't spent any real money in years, thanks to Google Opinion Rewards.