Summary of commands in MSWLogo
Summary of commands in MSWLogo, In this article, let's learn the commands included in MSWLogo, making programming with this software faster.
MSWLogo is an interpreted programming language, based on the Logo computer language platform, with a graphical user interface (GUI). It is free and open source programming software, with source code available in Borland C++.
MSWLogo supports many turtle graphics, 3D computer graphics and allows input from COM and LPT ports. It also supports a windowing interface, so input/output (I/O) is available through this GUI and keyboard and mouse events can trigger interrupts.
In this article, let's learn the commands included in MSWLogo, making programming with this software faster.
Commands included in MSWLogo
Command | Abbreviation | Syntax | Output | For example |
FORWARD | fd | FORWARD | Move the turtle forward with the specified number of times | forward 100 or fd 100 |
BACK | bk | BACK | Move the turtle backwards with the specified number of times | back 100 or bk 100 |
RIGHT | rt | RIGHT | Rotate the turtle to the right by the specified number of degrees | right 228 or rt 228 |
LEFT | lt | LEFT | Rotate the turtle left by the specified number of degrees | left 228 or lt 228 |
HOME | home | Home | Go to the center of the screen but do not clear the screen | home |
CLEAN | ct cs | Clean | Clear the screen of the trail but keep the turtle position | clean |
CLEARSCREEN | CS | Clearscreen | Clear the screen of the trail and go to the center of the screen | cs |
HIDETURTLE | HT | Hide turtle | Hide the turtle and support to see the drawing clearly on the screen | ht |
SHOWTURTLE | ST | Show turtle | Show the turtle after it is hidden from the screen | st |
PENUP | PU | (set) Pen up | Set the turtle to move without drawing | pu |
PENDOWN | PD | (resets) Pen | Reset brush when prompted to move | pd |
CLEARTEXT | CT | Clear text | Clear all text in command screen | ct |
CIRCLE | Circle | Create a loop that repeats 360 [FD (desired length in pixels divided by 360) RT or LT 1] | circle | |
Pattern | pay | Pattern | Create a pattern | pattern |
Commands to create some basic 2D drawings
Picture | Command |
Square | Repeat 4 [fd 200 rt 90] |
Rectangular | Fd 300 rt 90 fd 150 rt 90 Fd 300 rt 90 fd 150 rt 90 |
Circle | Repeat 360 [fd 3 rt 1] |
Triangle | Repeat 3 [fd 300 rt 120] |
The Pentagon | Repeat 5 [fd 200 rt 72] |
Hexagon | Repeat 6 [fd 200 rt 60 |
Octagon | Repeat 8 [fd 150 rt 45] |
hexagon shape | Repeat 9 [fd 150 rt 40] |
Hexagon | Repeat 10 [fd 100 rt 36] |
Update 06 April 2022
You should read it
- Just because he wanted to hack the game, my brother was infected with cryptocurrency mining malware and ruined his laptop like this
- How to turn on two-factor authentication on Slack
- 6 things you never knew about dragonflies
- How to use Breakout Rooms on Microsoft Teams
- Location of cutouts in Poppy Playtime Chapter 2
- From Card Games To Digital Platforms: The Evolution Of Entertainment Tech
- 10 useful software to help you train your brain every day
- Synthesis Flycam cheap, mid-range
- Choose a tree you like best to know what needs to change in the new year 2018
- Advanced Gmail technology
- 5 Security application you should consider removing and replacing
- How to listen to two songs at the same time on iPhone
Maybe you are interested
How to Use Teamspeak Instructions to register for tickets to 'The Eras Tour' Taylor Swift What is fine dust? The harmful effects of inhaling ultra-fine dust in the air you need to know Quality presentation websites instead of PowerPoint Install and use Google Docs Offine How to backup and restore Zalo messages on Android phones