Summary of commands in MSWLogo
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] |
4.3 ★ | 3 Vote
You should read it
- 6 things you never knew about dragonflies
- How to use Breakout Rooms on Microsoft Teams
- Location of cutouts in Poppy Playtime Chapter 2
- 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
May be interested
- 99+ Prompts to help you become an expert using any AIit takes time to come up with prompts when using ai, we can help you with the list of ai prompts in this article.
- 5 Linux commands every sysadmin needs to knowin a world full of new tools and diverse development environments, learning some basic sysadmin commands is practically essential for any developer or engineer.
- 30 great commands when using Cortana on Windows 10summary of more than 30 commands when using cortana on windows 10 and windows phone that you should know. the tips for using the most useful cortana girl
- 99+ entertaining AI commandsyou can ask ai to create more for games you already know like monopoly, chinese chess, chess... or set up games, travel and more.
- Extremely dangerous commands on Windows, Linux, Mac, don't try even oncethere are commands that are used to provide certain features to the operating system. however, if used improperly, they cause danger and damage the operating system.
- Guide to network operation for Linux users: 11 commands to knowlinux supports commands to download files, diagnose network problems, manage network interfaces or view network statistics on the terminal. here are some common linux commands to work with, please consult.
- 15 Tar commands should try in Linuxon * nix operating systems, such as linux, the commonly used utility is tar. the name of this command comes from archive tape, because it was originally designed to back up data on tape.
- Summary of functions that handle character strings in Excel, syntax and examplessummary of functions that process character strings in excel, syntax and examples will help you supplement important knowledge and commands with this powerful calculation tool. character string processing functions will help you extract characters anywhere in the text content.
- How to Run Linux Commands on Windows with WSL 2windows subsystem for linux 2 builds on the success of the original wsl, and the newer wsl 2 brings more power and reliability to users. it is important that you understand how to use linux commands and utilities on windows subsystem for linux 2.
- How to Start a Summary Paragrapha summary paragraph should tell the reader essential information about a larger text. you may write a summary paragraph about a short story or a novel for class. or you may write a summary paragraph for an academic text or a scholarly...