Try this: @LOOP LINPUT "Word: ";WORD$ PRINT LEN(WORD$) GOTO @LOOP