|
LISP
Blurb And Getting Started With LISP Reproduced from the back and inner inlay accompanying the cassette release |
|
|
|
The system features a number of extensions to basic LISP including PEEK, POKE, CALL and VDU, to provide easy interface with the Acorn Electron MOS and machine-code programs, improved interactive control structures using LOOP, WHILE and UNTIL functions, and disc input/output control functions.
The 200-page manual "LISP on the BBC Microcomputer" is a complete guide to Acornsoft LISP and is available separately. The manual includes a section on programming for the complete beginner, and contains useful program examples, including one which works out the best route between two towns on a map.
LISP functions
Contents
LISP
ROUTE-M (This file can only be loaded from within LISP)
Loading
To load the demonstration image, which contains a LISP program to work out the best route between towns on a map, type
(LOAD 'ROUTE-M)
from within LISP. You will now find that entering
(FIND-ROUTE 'CAMBRIDGE 'OXFORD)
will return a list giving the distance between the two cities, and the shortest route between them.