in reply to Re: Word Frequency counter
in thread Word Frequency counter

Thanks for all the above replies which explain where I've gone wrong and why and especially Grandfather for showing a different and less verbose way of getting the task working.