Reading a term from a list of codes