Variable assignment is always shorter that INC/DEC R=R-5 LOCATE.,.?"E" If 4 is the lowest G can be you can you inequalities to save a character e.g. (G<5) Colon (:) unneeded after functions, numbers (except when the next instructions starts with E, and string suffix $ Space unneeded before TO e.g. FOR I=0TO ...