Writing codes is like building a car. You do it in the factory, or the EDIT mode. The DIRECT mode you're in now is the showroom where you RUN the car show. You don't want to build cars right in front of the customers. Go back to the factory to do so.