I can't help you with variables, but I might be able to help you with your spelling.
variables, right (write is when you are writing a story, right is when you are correct), & goes.
Are you dyslexic? I don't mean that to be rude, but the spelling errors you tend to make coincide with people who suffer from dyslexia. If you aren't dyslexic, are you less than ten years of age?
Here's something else that may help, on both Microsoft Word and Word Perfect (depending on which word processor your computer has), you can run a spell check on what you have typed by clicking on Tools, and then clicking on spell check.