PILOT

{{stub}}{{language|PILOT}} 'Programmed Instruction, Learning Or Teaching' is an imperative educational language developed in the 1960s by John A. Starkweather at the University of California, San Francisco. It is designed to make it very easy to write interactive classroom tests or quizzes:

COMPUTE:year = 1804
TYPE:Who became French Emperor in #year?
ACCEPT:
MATCH:Napoleon,Bonaparte
YES:Correct!
NO:Sorry, it was Napoleon Bonaparte.

PILOT was also marketed in the 1980s as a first programming language for children and beginners, including in extended versions supporting turtle graphics; and it even found use as a scripting language under CP/M.

Keywords—written in block capitals in the example above—are case-insensitive and can usually be abbreviated to one or two letters (T for TYPE, JM for JUMPMATCH). The only data types supported are strings and integers.

Tasks