Logo - Research Article from Macmillan Science Library: Computer Sciences

This encyclopedia article consists of approximately 6 pages of information about Logo.
This section contains 1,453 words
(approx. 5 pages at 300 words per page)
Buy the Logo Encyclopedia Article

Logo Syntax

Logo makes it possible for beginners to learn to program fairly quickly because it starts out with a set of words called primitives that are easy to understand and can be used to experiment. For example, FORWARD or FD would make the turtle go forward, and RIGHT or RT would make it turn to the right, while HIDETURTLE or HT would hide it from view.

Using those primitives, a user can write a set of instructions, known as a procedure, name it, and use it to build other procedures. A procedure is executed by typing its name. Large problems can be broken down into small chunks that are easy to manage. An example of a procedure that draws a square is shown in Figure 1(a) and 1(b), while one to draw a triangle is shown in Figure 1(c).

These procedures use a constant of 30 for...

(read more)

This section contains 1,453 words
(approx. 5 pages at 300 words per page)
Buy the Logo Encyclopedia Article
Copyrights
Macmillan Science Library: Computer Sciences
Logo from Macmillan Science Library: Computer Sciences. Copyright © 2001-2006 by Macmillan Reference USA, an imprint of the Gale Group. All rights reserved.
Follow Us on Facebook