Programming Karel
What is a program?
A program is a recipe that tells karel how to perform some task.
The description consists of
instructions
that tell Karel what to do.
How does one create a Karel program?
You create a program by first conceiving of the things you'd like
Karel to do, then typing the instructions Karel must carry out.
You type these instructions to the
Karel program editor on your screen.
What must be done to prepare Karel to execute a program
You must do each of the following things:
- Turn on his power by clicking the
Power
button
on the screen.
- Read a program into his memory.
- Make sure his world is in the right initial state.
How does Karel know which program to execute?
Karel will only execute the program that has been read into his
onboard control computer.
Once Karel's power is on, you can read a program into his memory by clicking
the Read-program
button on the screen.
How do you get Karel to actually execute a program
Once you have read a program into Karel's memory, you can get him to
execute the program by cllicking the Execute-Program
button
on the screen
This document is copyright 1994 by Joseph N. Wilson.
$Id$