156. INKEY(-256) command ~~~~~~~~~~~~~~~~~~~ This command does not appear to be documented in any of the official Acorn manuals. Instead of checking for a key being pressed, it returns a number which indicates the type of machine in use. This can be handy when writing programs which are to be used in several different types of machine. Eg, to avoid the *SHADOW command upsetting a standard Electron or BBC model B, whilst executing it on a B+ or Master/Compact, you could use IF INKEY(-256)>1 THEN *SHADOW1 The numbers are:- BBC B with new 1.00+ OS -1 (including 1.20) BBC B with old 0.10 OS 0 (obsolete!) Electron 1 BBC B+ 64/128 251 Master 128 253 Compact 245 and now: Archimedes (Arthur OS) 160 (obsolete) Archimedes/A3000 (RiscOS) 161 Acoen A5000 ???