BFOIT - Introduction to Computer Programming

Animation: Logo Interpreter Peforming Procedures

Here is a small program consisting of two procedure definitions (main and box100) and an ending invocation of main.  In the main procedure there are four invocations of box100.  Watch how the program is executed, step by step.

Your browser does not support Java applets. Click here for more information.

Public Domain Mark
This work (BFOIT: Introduction to Computer Programming, by Guy M. Haas),
identified by Berkeley Foundation for Opportunities in IT (BFOIT),
is free of known copyright restrictions.