The BASIC commands in the Spectrum are in the keyboard keys. You have to use these keys to write a program, don't write the commands yourself using letters.