|

Programming

Very quickly even the youngest students get to the most fascinating aspect of
Logo programming: inventing new words. This really is programming, but in
LOGO we call it inventing words or writing procedures.

Logo is set up in a way that students can save any sequence of commands under
a name that they choose themselves. They can then use that name as if it were a
part of the language. In fact, it actually does become part of the language. For
example, suppose a student has discovered how to draw a triangle. If she saves
the commands under the name "tri," she can draw a triangle just by typing "tri."
So, in a very real way, the student can construct the language to her own liking.

Her triangle procedure might look something like this:
|