3 ms·
I learned to program on the ZX Spectrum (Awesome home computer). The spectrum had a great(ish) keyboard, where each key also had about 3 or 4 BASIC shortcuts on
by axod 19y ago
I learned to program on the ZX Spectrum (Awesome home computer).
The spectrum had a great(ish) keyboard, where each key also had about 3 or 4 BASIC shortcuts on it, which you could get with various shift keys. Also it would recognize when it was expecting a statement, and just use the statement for that key instead of the letter.
For example, to type "for f", you would press the 'f' key twice, as it had the shortcut 'For' on it, and also was the letter f.
Similarly, to type "next n", you'd hit the 'n' key twice.
Perhaps why you sometimes see f and n in for loops.