END Terminates the scope of FOR, WHILE and IF statements. Without END's, FOR, WHILE, and IF wait for further input. Each END is paired with the closest previous unpaired FOR, WHILE, or IF and serves to terminate its scope.