BitArray - Bit Array Demo Program
Copyright (c) 1997 SoftCircuits Programming (R)
Redistributed by Permission.

This Visual Basic 5.0 example program demonstrates a bit array
class. A bit array is an array of yes/no, 0/1, or true/false values.
It behaves like any other array but since it only stores a simple yes
or no value, it is designed to only use a single bit for each value.

For example, if you were to create an array of 100 Boolean values,
that array would consume 200 bytes of memory (Boolean variables use
two bytes of memory each). The bit array, however, can store the same
100 values in only about 13 bytes resulting in tremendous memory
savings, particularly if you need to store a very large number of
items. The bit array class also takes advantage of data abstraction
to make this functionality available using syntax that is virtually
identical to the syntax used to access an ordinary array.

The bit array class also includes routines to save the data to disk
and read it back. Keeping with the spirit of object-oriented
programming, disk access is handled internal to the class such that
using the class does not require knowledge of how the data is stored.

This program may be distributed on the condition that it is
distributed in full and unchanged, and that no fee is charged for
such distribution with the exception of reasonable shipping and media
charged. In addition, the code in this program may be incorporated
into your own programs and the resulting programs may be distributed
without payment of royalties.

