link="#009900" vlink="#007700" alink="#cc0000">
Teachpacks for How to Design Programs
Sample session: First define a function that consumes the current state of the elevator (three arguments) and returns a number between 1 and 8. Here is a non-sensical definition:
It moves the elevator once, to the 7th floor.
Second, set the teachpack to
> (run controller) >