Chapter 10. The FUNC Key and BASIC Keywords

As mentioned in chapter 5 on the Electron keyboard, the FUNC key to the left of the keyboard may be used with many of the other keys to print complete BASIC keywords on the screen. For example, if you press FUNC L, the keyword LIST appears. Each key used together with FUNC will give a keyword as follows:

A AUTO
B RENUMBER
C COLOUR
D DRAW
E ELSE
F FOR
G GOTO
H DEG
I INPUT
J RAD
K CHAIN
L LIST
M MODE
N NEXT
O OLD
P PLOT
Q LOCAL
R RUN
S STEP
T THEN
U UNTIL
V VDU
W RESTORE
X PROC
Y REPEAT
Z END
, LOAD
. SAVE
/ PRINT

OLD and RUN incorporate RETURN, thereby issuing a direct command. If you press FUNC R then the current program (if any) will run.

FUNC may also be used with the numeric keys, which may be programmed to give any string you choose (see chapter 24).

The action of FUNC with all the keys can be altered using operating system call *FX226 and *FX227 (see Appendix D).

Another way in which to cut down on typing is to use the abbreviations given in the BASIC keyword alphabetical reference section in chapter 25.