Obligatory top post!
Donald H Locker wrote:
What I would do is create an associative array (hash, collection, ...)
of integers, keyed by the character pairs.
Basic does not have a hash type.
>> I want to take large (3+ megs of words from a variety of sources I
have
>> compiled and parse them like this: Say the first words are "Mary had a
>> little lamb..." What I need is a moving window to grab the letters,
spaces
>> and punctuation, add a delimiter and then count the number of each
digraph
>> in the set.
which white space characters are ignored? The example demonstrates that
the regular space character is counted, but how about new lines? Does
the check cross paragraph borders?
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
Obligatory very very bottom post!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]