If your still wondering, Def 'name' x,y,string$ ' for example Locate x,y Print string$ End' don't forget this part ' to call the function you must fill a peramiters 'Name' 3,0,"hello"