You have to enter those lines in EDIT mode. Tap the big EDIT button, put the lines in, then go back to DIRECT mode to run it.