If the next word is not in the dictionary, or there are no more words in
the player's input, then `NextWord' returns 0. Presumably this is the
problem, although it is hard to tell from such a vague request.
What is it you want to do? If you want to print words from the player's
input, regardless of whether they're in the dictionary or not, look at
the `WordAddress' and `WordLength' functions, and the `@print_table'
opcode.
-- Gareth Rees