So start with a small program, perfect it, then gradually add perfected extras so you gradually build a perfected masterpiece. If you try to compose a long program all at once instead of building it from perfected pieces you ll have nothing more than a master mess full of bugs. If the computer can t obey your command, the computer will print an error message . The following error message are the most common. If the computer says you have a syntax error, it s usually because you spelled a word wrong, or forgot a word, or used a word the computer doesn t understand.
Some commands come in pairs.
DO The words DO and LOOP form a pair. The words FOR and NEXT form another pair. If you say GOTO 10, the computer tries to find a line numbered 10. If you say GOTO joe, the computer tries to find a line named joe. When you feed the computer a string, you must put the string in quotation marks, and put a dollar sign after the string s variable.