in edit mode, thats where you type the code. in direct mode, you can click run on the top right of the keyboard, and then press A. (it will run the code you wrote)
Don't worry TruMario. Go to http://www.smilebasic.com/ or if your having trouble or dont want to go to smilebasic.com, then ask me! (i dont know everything about smilebasic, but i know some stuff thats useful)