Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

MSWLogo

3 languages
 Article
 Talk
 Read
 Edit
 View history
From Wikipedia, the free encyclopedia

MSW Logo windows

MSWLogo is a programming language which is interpreted, based on the computer


language Logo, with a graphical user interface (GUI) front end. It was developed by
George Mills at the Massachusetts Institute of Technology (MIT). Its core is the same
as UCBLogo by Brian Harvey. It is free and open-source software, with source
code available, in Borland C++.
MSWLogo supports multiple turtle graphics, 3D computer graphics, and allows input
from ports COM and LPT. It also supports a windows interface, so input/output (I/O)
is available through this GUI, and keyboard and mouse events can trigger interrupts.
Simple GIF animations may also be produced on MSWLogo version 6.5 with the
command  gifsave . The program is also used as educational software. Jim Muller
wrote The Great Logo Adventure, a complete Logo manual using MSWLogo as the
demonstration language.
MSWLogo has evolved into FMSLogo: An Educational Programming Environment, a
free, open source implementation of the language Logo for Microsoft Windows. It is
released under the GNU General Public License (GPL) and is mainly developed and
maintained by David Costanzo.

Features[edit]
Animated gif with turtles in MSWLogo (Lemniscate of Bernoulli)[1]

Animated gif with turtle in MSWLogo (Limaçon)

MSWLogo, as of version 6.5b, supports many functions, including: [2]

 TCP/IP Winsock networking
 Win16, Win32, Win32s
 Text in all available fonts and sizes.
 1024 independent turtles.
 Bitmapped turtles
 Bitmap cut, paste, stretch
 Clipboard text and bitmaps
 MIDI devices
 Direct I/O to control external hardware
 Serial and parallel port communications
 Zooming
 Tail recursion: optimizes most recursive functions
 User error handling
 Standard Logo parsing
 Save and restore images in .BMP format files
 Color bits per pixel: 1, 4, 8, 16, 24
 Standard Windows hypertext help
 Standard Windows printing
 Separate library and work area
 Construction of Windows dialog boxes
 Event driven programming: mouse, keyboard, timer
 Multimedia devices: WAV sound files, CD-ROM control, etc.
 Event timers allowing multiprocessing
 3D perspective drawing: wire-frame and solid
 Animated GIF generation

Exa
Comm Ab
Syntax Output mpl
and br.
e

FORWARD  forw
<number ard
FORWAR of steps 100  or 
fd Moves turtle forward for number of times specified
D
to move fd
forward> 100

BACK <nu
mber of back
steps to 100  or 
BACK bk Moves turtle back for number of times specified
move bk
backward 100
>

RIGHT <d
righ
egrees
t
to
RIGHT rt Turns turtle right for number of degrees specified 228  or 
rotate
rt
toward
228
right>

LEFT <de
left
grees to
228  or 
LEFT lt rotate Turns turtle left for number of degrees specified
lt
toward
228
left>

HOME home Home Comes to screen center but does not clear the screen home

CLEAN ct cs Clean Clears the screen of trails but the turtle remains where it is clea
n
Exa
Comm Ab
Syntax Output mpl
and br.
e

without moving

CLEARS cs
CS Clearscreen Clears the screen of trails and comes to screen center
CREEN

HIDETU Hides the turtle and aids viewing a clear drawing on the ht
HT Hide turtle
RTLE screen

SHOWTU st
ST Show turtle Shows the turtle after it is hidden from the screen
RTLE

PENUP PU (set) Pen up Sets the turtle to move without drawing pu

PENDOW pd
PD (resets) Pen Resets to a drawing pen when ordered to move
N

CLEART ct
CT Clear text Clears all text in the command screen
EXT

Makes a circle
circ
CIRCLE Circle repeat 360 [FD (desired length in number of 
le
pixels divided by 360) RT or LT 1]

patt
Pattern pay Pattern Makes a pattern
ern

References[edit]
1. ^ Pietrocola, Giorgio (2005). "Tartapelago". Maecla.
2. ^ "MSWLogo Version 6.5b for Micro-Soft Windows 95/98/NT/2000/XP". Softronix. Retrieved 2019-
07-21.

Wikimedia Commons has media related to MSWLogo.


External links[edit]
 Official website
show

Logo programming language

show

Lisp programming language


Categories: 
 Interpreters (computing)
 Educational programming languages
 Logo programming language family
 This page was last edited on 20 December 2022, at 13:55 (UTC

You might also like